I am trying to install a library in a virtualenv instance with pip. The library version I want (wxPython 3.0.2)
is not available on PyPi; it is only available for download from SourceForge. Thus, I have the source tarball downloaded on my machine and I am trying to install it in such a way that it will play nicely with virtualenv.
(I am on a Windows computer, running Python 2.7.)
I have tried the following:
- doing a direct install:
pip install wxPython-src-3.0.2.0.tar.bz2 - extracting the files from the tarball to
wxPython-src-3.0.2.0, then installing from the extracted directory:pip install wxPython-src-3.0.2.0 - extracting the files from the tarball, then navigating into the extracted folder to the nested
wxPythondirectory, which holds thesetup.pyfile, and then installing from there:pip install wxPython
The last attempt seems the most promising, but I get the following traceback:
Processing \wxpython-src-3.0.2.0\wxpython
Complete output from command python setup.py egg_info:
Setuptools must be installed to build an egg
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in c:\users\__MY_USERNAME__\appdata\local\temp\pip-req-build-q0pxlt\
This is also strange, because it suggests I don't have setuptools even though I can run pip list and see version 40.6.3 installed.
Any help appreciated.