dwgoon / jpegio

A python package for accessing the internal variables of JPEG file format such as DCT coefficients and quantization tables
Apache License 2.0
73 stars 18 forks source link

ImportError #3

Closed wowpocak closed 4 years ago

wowpocak commented 4 years ago

Hello,

When I try to import jpegio I receive the following error all the time:

>>> import jpegio
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/bertalan/anaconda3/envs/test/lib/python3.6/site-packages/jpegio-0.2.1-py3.6-linux-x86_64.egg/jpegio/__init__.py", line 7, in <module>
    from .decompressedjpeg import DecompressedJpeg
ImportError: /home/bertalan/anaconda3/envs/test/lib/python3.6/site-packages/jpegio-0.2.1-py3.6-linux-x86_64.egg/jpegio/decompressedjpeg.cpython-36m-x86_64-linux-gnu.so: undefined symbol: jpeg_write_coefficients

I have the following specifications:

I tried installed with the wheel and the setup.py install aswell but neither worked. Could you help me with this please? Thanks!

dwgoon commented 4 years ago

I recommend you to install by compiling: 'python setup.py install' In which directory have you tried importing the package?

wowpocak commented 4 years ago

I installed with "python setup.py install" in the /tmp directory. Could that have caused problems? It still does not work

dwgoon commented 4 years ago

@wowpocak I've fixed the settings for linux, and uploaded the wheels. Try and test installing the package again, please. Thanks for letting me know this error.