Search code examples
pythonlibs

How to make downloaded Python libs work on Windows?


I got this simple problem and I can't find the answer anywhere, I'm wasting a lot of time!

I did a Python programm on Linux (which works OK), but when I try to run it on Windows, there are too problems with libs...

I have installed the libs I need (dateutil, lxml, xmlrpclib...) in C:\Python34\Lib\site-packages. But then, they don't work as they do on Linux. For example:

from dateutil.tz import tzlocal

Gives me next error:

File "C:\Python34\lib\site-packages\dateutil\tz.py", line 9, in module from six import string_types, PY3 ImportError: No module named 'six'

That is, they are not finding the other modules... why???


Solution

  • Have you try this ?

    http://www.instructables.com/id/How-to-install-Python-packages-on-Windows-7/

    Maybe it can help