Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #104472
| From | Dennis Lee Bieber <wlfraed@ix.netcom.com> |
|---|---|
| Newsgroups | comp.lang.python |
| Subject | Re: Question |
| Date | 2016-03-09 23:01 -0500 |
| Organization | IISS Elusive Unicorn |
| Message-ID | <mailman.106.1457582500.15725.python-list@python.org> (permalink) |
| References | (4 earlier) <mailman.52.1457457599.15725.python-list@python.org> <56df65a1$0$1596$c3e8da3$5496439d@news.astraweb.com> <CAPTjJmqzod5kZ+p34=gh8fkTpP8tho_bZwLnsqyaHw78E-22Pw@mail.gmail.com> <mailman.63.1457486912.15725.python-list@python.org> <slrnne05t7.19u.jon+usenet@wintry.unequivocal.co.uk> |
On Wed, 9 Mar 2016 12:28:30 -0000 (UTC), Jon Ribbens
<jon+usenet@unequivocal.co.uk> declaimed the following:
>On 2016-03-09, Ian Kelly <ian.g.kelly@gmail.com> wrote:
>> It looks like the shell environment that comes with Git for Windows is
>> actually Windows Powershell [1], so presumably the activate.ps1 script
>> that's already provided by venv is what's needed, not a bash script.
>
>This is not true. I installed Git for Windows and what it gave me was
>"Git Bash" which as you say runs in a window titled "MINGW64".
>
>If I try to run the activate.ps1 script it says:
>
>$ env/Scripts/activate.ps1
>env/Scripts/activate.ps1: line 1: syntax error near unexpected token `[switch]$NonDestructive'
>env/Scripts/activate.ps1: line 1: `function global:deactivate ([switch]$NonDestructive) {'
Which is no surprise, as .ps1 is a PowerShell script -- and even
PowerShell may not run it unless the system is configured to allow for
local unsigned scripts.
http://stackoverflow.com/questions/30577271/activating-pyvenv-from-gitbash-for-windows
--
Wulfraed Dennis Lee Bieber AF6VN
wlfraed@ix.netcom.com HTTP://wlfraed.home.netcom.com/
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Re: Question Ian Kelly <ian.g.kelly@gmail.com> - 2016-03-07 09:57 -0700
Re: Question Jon Ribbens <jon+usenet@unequivocal.co.uk> - 2016-03-07 18:09 +0000
Re: Question mm0fmf <none@invalid.com> - 2016-03-07 18:18 +0000
Re: Question Jon Ribbens <jon+usenet@unequivocal.co.uk> - 2016-03-07 18:51 +0000
Re: Question Ian Kelly <ian.g.kelly@gmail.com> - 2016-03-07 12:29 -0700
Re: Question Jon Ribbens <jon+usenet@unequivocal.co.uk> - 2016-03-08 01:41 +0000
Re: Question justin walters <walters.justin01@gmail.com> - 2016-03-07 17:59 -0800
Re: Question Jon Ribbens <jon+usenet@unequivocal.co.uk> - 2016-03-08 10:24 +0000
Re: Question justin walters <walters.justin01@gmail.com> - 2016-03-08 08:47 -0800
Re: Question Jon Ribbens <jon+usenet@unequivocal.co.uk> - 2016-03-08 16:53 +0000
Re: Question Ian Kelly <ian.g.kelly@gmail.com> - 2016-03-08 10:19 -0700
Re: Question Jon Ribbens <jon+usenet@unequivocal.co.uk> - 2016-03-08 17:56 +0000
Re: Question Ian Kelly <ian.g.kelly@gmail.com> - 2016-03-08 11:08 -0700
Re: Question Jon Ribbens <jon+usenet@unequivocal.co.uk> - 2016-03-08 18:08 +0000
Re: Question Steven D'Aprano <steve@pearwood.info> - 2016-03-09 10:52 +1100
Re: Question Chris Angelico <rosuav@gmail.com> - 2016-03-09 11:13 +1100
Re: Question Ian Kelly <ian.g.kelly@gmail.com> - 2016-03-08 18:27 -0700
Re: Question Jon Ribbens <jon+usenet@unequivocal.co.uk> - 2016-03-09 12:28 +0000
Re: Question Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2016-03-09 23:01 -0500
Re: Question Jon Ribbens <jon+usenet@unequivocal.co.uk> - 2016-03-10 11:44 +0000
Re: Question Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2016-03-10 08:37 -0500
Re: Question Jon Ribbens <jon+usenet@unequivocal.co.uk> - 2016-03-09 12:52 +0000
Re: Question Chris Angelico <rosuav@gmail.com> - 2016-03-08 06:47 +1100
Re: Question Jon Ribbens <jon+usenet@unequivocal.co.uk> - 2016-03-08 01:33 +0000
Re: Question Andrew Farrell <amfarrell@mit.edu> - 2016-03-07 14:00 -0600
Re: Question justin walters <walters.justin01@gmail.com> - 2016-03-07 11:04 -0800
Re: Question Chris Warrick <kwpolska@gmail.com> - 2016-03-07 19:22 +0100
Re: Question Random832 <random832@fastmail.com> - 2016-03-07 13:26 -0500
csiph-web