Eryk Sun <eryk...@gmail.com> added the comment:

Why is the bash/zsh "activate" script getting distributed with CRLF line 
endings? Apparently Windows builds of bash (e.g. git-bash) can handle CRLF line 
endings, but Cygwin bash cannot.

As to Linux bash in WSL, the activate script from a virtual environment created 
by Windows Python can't be used anyway. It modifies $PATH using a DOS path like 
"C:\taco" as opposed to a WSL path like "/mnt/c/taco".

> when running "pip freeze" in number 3 it returns the system 
> packages despite the "include-system-site-packages = False" 
> in pyvenv.cfg 

The 3rd attempt is just running activate.bat from a CMD shell. That should 
work, unless you `exit` out of CMD back to bash. Anyway, check `where.exe pip` 
after activating. It should find "C:\taco\Scripts\pip.exe" first.

----------
components: +Windows
nosy: +eryksun, paul.moore, steve.dower, tim.golden, zach.ware
versions: +Python 3.7, Python 3.8

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue32451>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to