Comments (3)
from opencat.
Checking the traceback I noticed that the App searches for /opt/anaconda3/envs/simpleUI/lib/libtiff.5.dylib
library so I installed anaconda (I was using minicoda before) and then I created a enviroment called simpleUI where I installed pillow and pyserial.
Now the Petoi Desktop App found that library but it says that the architecture is incompatible (have arm64, need x86_64).
What I'm supposed to do now?
Traceback (most recent call last):
File "/Applications/Petoi Desktop App.app/Contents/Resources/__boot__.py", line 89, in _recipes_pil_prescript
import Image
ModuleNotFoundError: No module named 'Image'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Applications/Petoi Desktop App.app/Contents/Resources/__boot__.py", line 135, in <module>
_recipes_pil_prescript(['DdsImagePlugin', 'FitsStubImagePlugin', 'EpsImagePlugin', 'WmfImagePlugin', 'PdfImagePlugin', 'JpegImagePlugin', 'DcxImagePlugin', 'GbrImagePlugin', 'FpxImagePlugin', 'PalmImagePlugin', 'IptcImagePlugin', 'PsdImagePlugin', 'SunImagePlugin', 'MpegImagePlugin', 'IcoImagePlugin', 'BmpImagePlugin', 'IcnsImagePlugin', 'TgaImagePlugin', 'GifImagePlugin', 'FliImagePlugin', 'Jpeg2KImagePlugin', 'SgiImagePlugin', 'Hdf5StubImagePlugin', 'CurImagePlugin', 'PixarImagePlugin', 'BufrStubImagePlugin', 'XpmImagePlugin', 'MicImagePlugin', 'PngImagePlugin', 'BlpImagePlugin', 'WebPImagePlugin', 'PcdImagePlugin', 'FtexImagePlugin', 'MpoImagePlugin', 'MspImagePlugin', 'ImtImagePlugin', 'PpmImagePlugin', 'SpiderImagePlugin', 'PcxImagePlugin', 'GribStubImagePlugin', 'McIdasImagePlugin', 'XbmImagePlugin', 'ImImagePlugin', 'XVThumbImagePlugin', 'TiffImagePlugin'])
File "/Applications/Petoi Desktop App.app/Contents/Resources/__boot__.py", line 93, in _recipes_pil_prescript
from PIL import Image
File "<frozen zipimport>", line 259, in load_module
File "PIL/Image.pyc", line 89, in <module>
File "<frozen zipimport>", line 259, in load_module
File "PIL/_imaging.pyc", line 14, in <module>
File "PIL/_imaging.pyc", line 10, in __load
File "imp.pyc", line 342, in load_dynamic
ImportError: dlopen(/Applications/Petoi Desktop App.app/Contents/Resources/lib/python3.9/lib-dynload/PIL/_imaging.so, 0x0002): Library not loaded: '@rpath/libtiff.5.dylib'
Referenced from: '/Applications/Petoi Desktop App.app/Contents/Resources/lib/python3.9/lib-dynload/PIL/_imaging.so'
Reason: tried: '/opt/anaconda3/envs/simpleUI/lib/libtiff.5.dylib' (mach-o file, but is an incompatible architecture (have (arm64), need (x86_64))), '/opt/anaconda3/envs/simpleUI/lib/libtiff.5.dylib' (mach-o file, but is an incompatible architecture (have (arm64), need (x86_64))), '/Applications/Petoi Desktop App.app/Contents/Resources/lib/python3.9/lib-dynload/PIL/../../../libtiff.5.dylib' (no such file), '/opt/anaconda3/envs/simpleUI/lib/libtiff.5.dylib' (mach-o file, but is an incompatible architecture (have (arm64), need (x86_64))), '/opt/anaconda3/envs/simpleUI/lib/libtiff.5.dylib' (mach-o file, but is an incompatible architecture (have (arm64), need (x86_64))), '/Applications/Petoi Desktop App.app/Contents/Resources/lib/python3.9/lib-dynload/PIL/../../../libtiff.5.dylib' (no such file), '/opt/anaconda3/envs/simpleUI/lib/libtiff.5.dylib' (mach-o file, but is an incompatible architecture (have (arm64), need (x86_64))), '/Applications/Petoi Desktop App.app/Contents/Frameworks/libtiff.5.dylib' (no such file), '/Applications/Petoi Desktop App.app/Contents/MacOS/../Frameworks/libtiff.5.dylib' (no such file), '/usr/local/lib/libtiff.5.dylib' (no such file), '/usr/lib/libtiff.5.dylib' (no such file)
2022-08-31 17:25:43.758 Petoi Desktop App[11550:81866] Launch error
2022-08-31 17:25:43.758 Petoi Desktop App[11550:81866] Launch error
See the py2app website for debugging launch issues
from opencat.
Ok I solved it installing the x86_64 version of anaconda3 in /opt/anaconda3, creating the simpleUI environment and installing the pyserial and pillow packages inside it.
I hope these information can help someone with the same problem
Thank you for the support
from opencat.
Related Issues (20)
- Running the Firmware Uploader on a Raspberry PI does not work HOT 1
- Changing the speed of "Walk" HOT 1
- MU Camera using arduino IDE error HOT 2
- Can I make a deb package for OpenCat UI app? HOT 1
- wrong-path-for-interpreter /opt/anaconda3/envs/petoi/bin/python3
- very-long-line-length-in-source-file > 512 HOT 3
- Unable to upload code after bluetooth connection failed HOT 10
- Wrong
- compatible with "azure openai api"
- Adding to siri, but not work in siri. HOT 2
- Can you configure a standard Python package format for setup.py?
- opencat app bug : Team: 网络连接已中断。 HOT 2
- After uploading the code of OpenCat.ino Robot will not accept any new code. HOT 3
- Sketch too big for NyBoard V0_2 HOT 2
- Petoi Bluetooth Adapter not compatible with NyBoard_V02 ? HOT 2
- pyUI/commonVar.py uses wrong paths for Linux HOT 2
- Is there a way to disable the beep sound? HOT 1
- Getting data from IMU data (such as YRP and Accelerators) on the main source HOT 9
- Add support for Mistral HOT 1
- ardSerial.py suggestion HOT 1
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 opencat.