Discussion:
[python-win32] pip not working?
Patrick Asselman
2014-09-21 09:26:43 UTC
Permalink
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.
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
Vernon D. Cole
2014-09-21 10:31:52 UTC
Permalink
Patrick:
I am very sorry, but you are asking this question on the wrong list.
This list is for Python for Windows Extension. You may find more productive
answers on a list which specializes in either mac OS, or the lxml package.
Post by Patrick Asselman
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.
import lxml
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
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
_______________________________________________
python-win32 mailing list
https://mail.python.org/mailman/listinfo/python-win32
Loading...