help! upgraded gnu r packages 3.1.1 3.3.1. this, had add stretch distribution /etc/apt/sources.list file. in process of upgrading gnu r, apt chose install upgraded version of python3. when try use sense hat module python3, following error message:
however, pip3 indicates rtimulib 7.2.1 installed:
need sense hat module work again under python3? working before gnu r upgrade , python2 still works sense hat after upgrade. suspect it's specific python3 upgrade.
code: select all
python 3.5.2+ (default, sep 22 2016, 12:18:14) [gcc 6.1.1 20160802] on linux type "copyright", "credits" or "license()" more information. >>> sense_hat import sensehat traceback (most recent call last): file "<pyshell#0>", line 1, in <module> sense_hat import sensehat file "/usr/lib/python3/dist-packages/sense_hat/__init__.py", line 2, in <module> .sense_hat import sensehat, sensehat astropi file "/usr/lib/python3/dist-packages/sense_hat/sense_hat.py", line 10, in <module> import rtimu # custom version importerror: no module named 'rtimu' >>>
code: select all
pi@raspberrypi:~/sensehat $ pip3 freeze flask==0.10.1 jinja2==2.7.3 markupsafe==0.23 pillow==3.3.1 rtimulib==7.2.1 werkzeug==0.9.6 chardet==2.3.0 codebug-i2c-tether==0.2.3 codebug-tether==0.7.0 colorama==0.3.2 cryptography==1.5.2 gpiozero==1.3.1 html5lib==0.999 idna==2.1 itsdangerous==0.24 mcpi==0.1.1 numpy==1.11.2 picamera==1.12 picraft==0.6 pifacecommon==4.2.1 pifacedigitalio==3.1.0 pigpio==1.30 pyopenssl==16.1.0 pyasn1==0.1.9 pygobject==3.22.0 pyinotify==0.9.4 pyserial==2.6 python-apt==1.1.0b5 python-debian==0.1.27 requests==2.4.3 sense-emu==1.0 sense-hat==2.2.0 six==1.8.0 smbus==1.1 twython==3.1.2 urllib3==1.9.1 wheel==0.24.0
for reference, being dealt on github.
raspberrypi
Comments
Post a Comment