简体   繁体   中英

can't install local packages in python virtualenv

After the last update for my windows when I try to display the installed packages in python virtualenv by

pip freeze --local

or

pip freeze 

they gave me the same result "all globally installed packages"

Is your virtualenv activated? .\env\Scripts\activate

After activating your virtualenv pip freeze --local > requirements.txt

More can be found here

I update my pip package then it's work fine!

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM