Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Scripts directory is missing from Virtual Environment

There is no directory call Scripts

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

Please help me to solve this.

like image 675
Sourab M Kalliyan Avatar asked Oct 17 '25 02:10

Sourab M Kalliyan


1 Answers

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.

like image 84
sm_a_r Avatar answered Oct 18 '25 16:10

sm_a_r