Why does pip fail when installing local egg repository?

后端 未结 2 1967
北海茫月
北海茫月 2021-02-13 01:57

I am working on Windows 7.I have created a python egg using distutils. Now I try to install this egg in a virtual environment using pip 1.0.2 using the following command:

<
2条回答
  •  一生所求
    2021-02-13 02:19

    I just came across this page and since I had the same exact problem, I thought to post the solution that worked for me.

    This is an issue with the older versions of pip. My version of pip was 1.5.4. I was not able to find the first version of pip that was able to do it but the current version 6.0.6 does the job.

    To update to latest pip version, simply run the following command:

    pip install --upgrade pip

    Needless to say if you want this to only take effect inside your virtual environment, run it inside the environment. Otherwise, run it globally.

提交回复
热议问题