This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Kevin
Recipients Kevin
Date 2017-12-30.04:13:48
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1514607229.33.0.213398074469.issue32451@psf.upfronthosting.co.za>
In-reply-to
Content
attempts from within cygwin:

1. The Posix way:

$ python -m venv taco
$ cd taco
$ source bin/activate
-bash: $'\r': command not found
-bash: Scripts/activate: line 4: syntax error near unexpected token `$'{\r''
'bash: Scripts/activate: line 4: `deactivate () {

2. The windows way:

$ python -m venv taco
$ cd taco
$ /full/path/to/venv/taco/scripts/activate.bat
$


3. the only solution from cygwin (still not 100% functional):

$ python -m venv taco
$ cd taco
$ cd Scripts
$ cmd
C:\taco\Scripts\> activate.bat

(taco) C:\taco\Scripts\>




HOWEVER. when running "pip freeze" in number 3 it returns the system packages despite the "include-system-site-packages = False" in pyvenv.cfg 
When #3 is run inside command prompt "pip freeze" returns nothing correctly.


Come on guys, please don't make me use command prompt or powershell.
History
Date User Action Args
2017-12-30 04:13:49Kevinsetrecipients: + Kevin
2017-12-30 04:13:49Kevinsetmessageid: <1514607229.33.0.213398074469.issue32451@psf.upfronthosting.co.za>
2017-12-30 04:13:49Kevinlinkissue32451 messages
2017-12-30 04:13:48Kevincreate