hhatto / pgmagick

pgmagick is a yet another boost.python based wrapper for GraphicsMagick/ImageMagick.
MIT License
147 stars 33 forks source link

Import Error from pgmagick import _pgmagick #49

Closed arycloud closed 3 years ago

arycloud commented 6 years ago

I have installed Pgmagic using pip install pgmagick but when try to use it, it returns an Import error like this: <module> from pgmagick import _pgmagick ImportError: dlopen(/Users/abdul/ImgSegEnv/lib/python3.6/site-packages/pgmagick/_pgmagick.cpython-36m-darwin.so, 2): Library not loaded: /usr/local/opt/boost-python3/lib/libboost_python36.dylib Referenced from: /Users/abdul/ImgSegEnv/lib/python3.6/site-packages/pgmagick/_pgmagick.cpython-36m-darwin.so Reason: image not found

hhatto commented 6 years ago

see also https://github.com/hhatto/pgmagick/issues/45#issuecomment-418240470

[memo] Mojave(macOS 10.14), Python3.6

hhatto commented 6 years ago

@arycloud

Hi,

successfull install and test in my environment.

my environment:

Can you try the pip installation again by applying a --force-reinstall and --no-cache-dir option?

$ pip install --force-reinstall pgmagick

If the same error occurs, will you get the installation log? (url or files, etc...)

hhatto commented 3 years ago

No reply for a long time, so I will close it once. If you are still experiencing the same problem, please open it again.