Skip to content Skip to sidebar Skip to footer

How Can I Install A .egg Python Package On Windows (attempt Using Easy_install Not Working)

I am trying to install a package named QSTK for a course that I am doing. The course points to an installation package for the 32 bit version, but I have 64 Python installed. I hav

Solution 1:

You should add -m before easy_install for example:

python -m easy_install C:\Users\Prosserc\Downloads\QSTK-0.2.6-py2.7.egg

Solution 2:

How about if you unpack the .egg (it's just a .zip in disguise), then cd into it and run python setup.py install? Will that run fine and will you then be able to import your module?

I'm saying this because if the .egg file does get put under site-packages as appropriate but you're still not able to import, this might be a problem in the code itself.

Solution 3:

I have finally found another place to download this from with a package that works: https://pypi.python.org/pypi/QSTK/0.2.6 has a QSTK-0.2.6.tar.gz option to build it from the source code.

Unzipping this (then again once down to the .tar), I could find the setup.py file and install by going to the directory with the setup file and running:

python setup.py install

Solution 4:

I tried copying the contents of the .egg folder in the path Lib\site-packages . It worked and didn't throw any ModuleNotFoundError .

Solution 5:

I found pip install qstk works perfectly for 64x 2.7 python at win 7

Post a Comment for "How Can I Install A .egg Python Package On Windows (attempt Using Easy_install Not Working)"