Patrick Asselman
2014-09-21 09:26:43 UTC
Can somebody please shed some light on what is going on here?
$ pip freeze
lxml==3.4.0
$ python3
Python 3.4.0 (v3.4.0:04f714765c13, Mar 15 2014, 23:02:41)
[GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
File "<stdin>", line 1, in <module>
ImportError: No module named 'lxml'
Also help('modules') doesn't show lxml in the list.
This is on OSX 10.9.5
Before this, I install py34-lxml through macports and it said "Installing py34-lxml @3.3.5_0", which made me think it was installing an older version, so I chose to uninstall and use pip instead. Pip completes the installation succesfully, but the module cannot be found by Python.
Best regards,
Patrick
$ pip freeze
lxml==3.4.0
$ python3
Python 3.4.0 (v3.4.0:04f714765c13, Mar 15 2014, 23:02:41)
[GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
import lxml
Traceback (most recent call last):File "<stdin>", line 1, in <module>
ImportError: No module named 'lxml'
Also help('modules') doesn't show lxml in the list.
This is on OSX 10.9.5
Before this, I install py34-lxml through macports and it said "Installing py34-lxml @3.3.5_0", which made me think it was installing an older version, so I chose to uninstall and use pip instead. Pip completes the installation succesfully, but the module cannot be found by Python.
Best regards,
Patrick