Comments (13)
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.
from dustcloud.
Now i got This....
Traceback (most recent call last):
File "/dustcloud/server.py", line 33, in
from build_map import build_map
File "/dustcloud/build_map.py", line 17, in
from PIL import Image, ImageDraw, ImageChops
ImportError: No module named 'PIL'
from dustcloud.
You need to install pillow with pip.
from dustcloud.
Traceback (most recent call last):
File "/dustcloud/server.py", line 33, in
from build_map import build_map
File "/dustcloud/build_map.py", line 17, in
from PIL import Image, ImageDraw, ImageChops
File "/usr/local/lib/python3.5/dist-packages/PIL/Image.py", line 58, in
from . import _imaging as core
ImportError: libopenjp2.so.7: cannot open shared object file: No such file or directory
from dustcloud.
How did you install pillow?
from dustcloud.
pip3 install pillow
from dustcloud.
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.
from dustcloud.
no that didn't worked out... I will give it a new try tomorrow.
from dustcloud.
Are you using a virtualenv?
from dustcloud.
No
from dustcloud.
Try that then.
from dustcloud.
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
from dustcloud.
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
from dustcloud.
Related Issues (20)
- Discussion: S6 MaxV UART pins HOT 1
- Replace soundpack on roborock s6 pure HOT 1
- Dreame Vacuum D9 is dead
- Which Xiaomi robot vacs ared supported?
- Roborock S5 Max firmware ver 1566 11/2021 confirmed rootable HOT 5
- SFTP support for Roborock HOT 4
- Rooting Xioami MJSTG1 HOT 28
- Support for Neato D8/D9/D10 HOT 2
- Support for Xiaomi Mi Robot Vacuum-Mop 2 Lite HOT 1
- Support for Dreame W10 rooting HOT 2
- Error while rooting xiaomi vacuum
- How to flash v8 to viomi v8 version? HOT 1
- Problem with voice generator
- docker-compose up -d --build fails with "SyntaxError: invalid syntax"
- Experience with STYTJ02YM robots HOT 14
- Vacuum mop 2 pro support?
- Roborock S5max update failed
- Region lock
- Roborock S5 Max soft-briked, then recovered
- Any language with this PHP script
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dustcloud.