Python - cant find pip.ini or pip.conf in Windows

前端 未结 11 1990
谎友^
谎友^ 2021-01-31 07:57

I got Python 2.7.8 installed on my Win7 machine, which comes with pip already pre-installed.
I\'m successfully able to install new packages from pip and now I need to add c

11条回答
  •  抹茶落季
    2021-01-31 08:27

    I know this is a bit late, however, this post is high on the rankings when searching. Inside a virtual environment pip.ini can also be in the root of the virtual environment. From the docs

    Inside a virtualenv:
    
    On Unix and macOS the file is $VIRTUAL_ENV/pip.conf
    On Windows the file is: %VIRTUAL_ENV%\pip.ini
    

提交回复
热议问题