Open mohaoran93 opened 4 years ago
You should import the package outside the jpegio directory (e.g., jpegio mo). Have you tried?
When I work outside the jpegio dir, I got different error
>>> import jpegio as jio
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/Users/mo/anaconda3/envs/py3image/lib/python3.6/site-packages/jpegio-0.2.1-py3.6-macosx-10.9-x86_64.egg/jpegio/__init__.py", line 7, in <module>
from .decompressedjpeg import DecompressedJpeg
ImportError: dlopen(/Users/mo/anaconda3/envs/py3image/lib/python3.6/site-packages/jpegio-0.2.1-py3.6-macosx-10.9-x86_64.egg/jpegio/decompressedjpeg.cpython-36m-darwin.so, 2): Library not loaded: @rpath/libjpeg.62.dylib
Referenced from: /Users/mo/anaconda3/envs/py3image/lib/python3.6/site-packages/jpegio-0.2.1-py3.6-macosx-10.9-x86_64.egg/jpegio/decompressedjpeg.cpython-36m-darwin.so
Reason: image not found
Most likely this will be solved in https://github.com/dwgoon/jpegio/pull/27 could you check it now please? @mohaoran93
When I import the package, I encountered one error like this
from .componentinfo import ComponentInfo ModuleNotFoundError: No module named 'jpegio.componentinfo'
All log from installation to import are following,