I've been trying to solve an import error I've been getting the whole day and it's just driving me crazy. I've literally went through every Stack Overflow similar question and tried out every single solution and nothing seems to do the magic for me.
I'm currently running a script on my Terminal by doing
$ python camelcamelcamel-import.py
The error I'm getting is:
Traceback (most recent call last):
File "camelcamelcamel-import.py", line 1, in <module>
import sys, mechanize, lxml.html
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/lxml/html/init.py", line 54, in <module>
from .. import etree
ImportError: dlopen(/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/lxml/etree.so, 2): Symbol not found: _xsltDocDefaultLoader
Referenced from: /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/lxml/etree.so
Expected in: dynamic lookup
I've tried installing/uninstall the modules, the same thing for pip and nothing seems to work for me.
Any help would be extremely appreciated, thank you!