Open SirWesthoff opened 6 years ago
You probably don't have build_map.py in /dustcloud/
You can copy /home/pi/dustcloud/dustcloud/build_map.py to /dustcloud/
Then the module should be found.
Now i got This....
Traceback (most recent call last):
File "/dustcloud/server.py", line 33, in
You need to install pillow with pip.
Traceback (most recent call last):
File "/dustcloud/server.py", line 33, in
How did you install pillow?
pip3 install pillow
A quick google gives this answer: https://stackoverflow.com/questions/48012582/pillow-libopenjp2-so-7-cannot-open-shared-object-file-no-such-file-or-directo
sudo apt-get install libopenjp2-7-dev
I didn't this problem after installing pillow, so no guarantee this helps.
no that didn't worked out... I will give it a new try tomorrow.
Are you using a virtualenv?
No
Try that then.
There is something odd going on with pillow on raspi…
Also, libopenjp2-7-dev seems to not exist anymore in the stock raspian sources…
I will dig around a little, I have the same issue with another project:
(myPiMotion) pi@cam: ~/code/1984YourRack $ ./src/myPiMotion.py
Traceback (most recent call last):
File "./src/myPiMotion.py", line 8, in <module>
from PIL import Image
File "/home/pi/code/1984YourRack/myPiMotion/lib/python3.5/site-packages/PIL/Image.py", line 60, in <module>
from . import _imaging as core
ImportError: libopenjp2.so.7: cannot open shared object file: No such file or directory
For what it's worth: I I also had the "ImportError: No module named 'PIL'" prob. pip install image fixed it for me. I'm running from Odroid C2 with DietPi
root@raspberrypi:/home/pi/dustcloud/dustcloud# bash server.sh
Traceback (most recent call last): File "/dustcloud/server.py", line 33, in
from build_map import build_map
ImportError: No module named 'build_map'
I'm not able to start the server.