Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

it doesn't work under python 3.6 and Mac OS X 10.12. #33

Closed
arcstep opened this issue May 30, 2018 · 2 comments
Closed

it doesn't work under python 3.6 and Mac OS X 10.12. #33

arcstep opened this issue May 30, 2018 · 2 comments

Comments

@arcstep
Copy link

arcstep commented May 30, 2018

I got some error when I install captcha in my mac.

>>> import captcha.image
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/captcha/image.py", line 11, in <module>
    from PIL import Image
  File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/PIL/Image.py", line 60, in <module>
    from . import _imaging as core
ImportError: dlopen(/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/PIL/_imaging.cpython-36m-darwin.so, 2): Symbol not found: _clock_gettime
  Referenced from: /Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/PIL/.dylibs/liblzma.5.dylib (which was built for Mac OS X 10.12)
  Expected in: /usr/lib/libSystem.B.dylib
 in /Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/PIL/.dylibs/liblzma.5.dylib

You can see that it doesn't work under python 3.6 and Mac OS X 10.12.

so I change pillow from 5.1.0 to 5.0.0, it's all fine now ! :)

$ pip install pillow==5.0.0
...
Installing collected packages: pillow
  Found existing installation: Pillow 5.1.0
    Uninstalling Pillow-5.1.0:
      Successfully uninstalled Pillow-5.1.0
Successfully installed pillow-5.0.0

Perhaps many people will happen this error because they like to choose the newest version of every packages, so I must report above message : )

@lepture
Copy link
Owner

lepture commented May 30, 2018

Not related to captcha. You can report it to Pillow instead.

@lepture lepture closed this as completed May 30, 2018
@ndonkoHenri
Copy link

I just had this same issue. I will try changing my pillow version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants