'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.



Solution 1:[1]

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.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 RiveN