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

Failure to run SummarizeUrl() (ImportError) #31

Closed
ryanhestin opened this issue Sep 19, 2014 · 3 comments
Closed

Failure to run SummarizeUrl() (ImportError) #31

ryanhestin opened this issue Sep 19, 2014 · 3 comments

Comments

@ryanhestin
Copy link

ImportError: dlopen(/Users/ryAn/.../lib/python2.7/site-packages/lxml/etree.so, 2): 
 Library not loaded: libxml2.2.dylib

Referenced from: /Users/ryAn/.../lib/python2.7/site-packages/lxml/etree.so

Reason: Incompatible library version: etree.so requires version 12.0.0 or later, but libxml2.2.dylib provides version 10.0.0

Used in the Python 2.7.6 REPL, following the example in the README, this error comes up upon attempting to run the line SummarizeUrl(url).

The module was installed using pip inside a virtualenv.

@tgallant
Copy link
Contributor

looks to me that it is an lxml version issue that affects OS X users. This link seems to have some good suggestions on how to fix it: https://stackoverflow.com/questions/13355984/get-errors-when-import-lxml-etree-to-python

@ryanhestin
Copy link
Author

Resolved by running

STATIC_DEPS=true pip install lxml

BEFORE

pip install pyteaser

@xiaoxu193
Copy link
Owner

Ya it's a problem for a lot of Windows (and maybe OS X) users. See solution here: #17

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