-
Notifications
You must be signed in to change notification settings - Fork 41
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
sensor_test.py fails #7
Comments
Install RPi.GPIO with the following command and then try to run the script again. |
sudo pip3 install RPi.GPIO |
it seems the bug is still unsolved. |
@kristoss you didn't install cellulariot correctly... try running |
@kristoss I just did this all from zero to running, so I can probably assist with your problems. |
Did you use python3 for installation? Doing python sensor_test.py will not work as the library is written in python3. |
Thanks for the response.I just tried the sudo pip3 install sixfab-cellulariot and the result is this |
@saeedjohar on sudo python3 setup.py install i get ImportError: No module named 'setuptools |
@kristoss Try to install setuptools again https://stackoverflow.com/questions/22531360/no-module-named-setuptools It might also be: I can get a full install history for my install, to show what command I've used to setup the shield working fully. |
@d4rkd0s thanks again for the response,it seems setuptools are up-to-dated. Linux raspberrypi 4.14.98-v7+ #1200 SMP Tue Feb 12 20:27:48 GMT 2019 armv7l GNU/Linux Distributor ID: Raspbian |
@kristoss if you have most of the libs installed you don't need |
I reinstall raspbian on my sd and it worked. |
Kernel : Linux CellPi 5.10.14-v7l+ #1401 SMP Mon Feb 8 14:27:07 GMT 2021 armv7l GNU/Linux After manual install, the cellulariot.py module fails when running python3 sensor_test.py System errors with: After manually running the sensor_test.py I discovered certain function calls are missing, or I am in error and not doing something correctly: from cellulariot import cellulariot Please advise, or correct me where I am wrong |
I am having the same problem as you, @battletroll01 . Did you manage to solve it? Thanks! |
uname -a
Linux raspberrypi 4.14.98-v7+ #1200 SMP Tue Feb 12 20:27:48 GMT 2019 armv7l GNU/Linux
lsb_release -a
No LSB modules are available.
Distributor ID: Raspbian
Description: Raspbian GNU/Linux 9.8 (stretch)
Release: 9.8
Codename: stretch
python3 sensor_test.py
Traceback (most recent call last):
File "sensor_test.py", line 6, in
from cellulariot import cellulariot
File "/usr/local/lib/python3.5/dist-packages/sixfab_cellulariot-1.2.0-py3.5.egg/cellulariot/cellulariot.py", line 11, in
ImportError: No module named 'RPi'
This may indicate that I did not install cellulariot.py - I believe I obeyed the instructions as written.
Thoughts?
The text was updated successfully, but these errors were encountered: