On Windows, this is entirely correct. A bin
directory is created on POSIX systems only. From the Windows Notes section of the documentation:
Some paths within the virtualenv are slightly different on Windows: scripts and executables on Windows go in ENVScripts
instead of ENV/bin/
and libraries go in ENVLib
rather than ENV/lib/
.
For Windows, run pathoenvScriptsactivate
to activate the virtualenv. From the documentation again:
On Windows you just do:
> pathoenvScriptsactivate
And type deactivate to undo the changes.
Based on your active shell (CMD.exe or Powershell.exe), Windows will use either activate.bat
or activate.ps1
(as appropriate) to activate the virtual environment.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…