简体   繁体   中英

Scripts directory is missing from Virtual Environment

没有目录调用脚本

There is no directory called Scripts . How can I activate?

Please help me to solve this.

Check the line "Home" in pyvenv.cfg , it can differ from your python interpreter location. In my case it was home = C:\msys64\mingw64\bin , so this caused another project structure without the "Scripts" directory.

You can configure interpreter location in PATH variables and try to create a virtual environment again.

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