Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #104472

Re: Question

Path csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail
From Dennis Lee Bieber <wlfraed@ix.netcom.com>
Newsgroups comp.lang.python
Subject Re: Question
Date Wed, 09 Mar 2016 23:01:47 -0500
Organization IISS Elusive Unicorn
Lines 27
Message-ID <mailman.106.1457582500.15725.python-list@python.org> (permalink)
References <nbkgh7$8q0$1@dont-email.me> <slrnndrjj8.19u.jon+usenet@wintry.unequivocal.co.uk> <mailman.44.1457378999.10335.python-list@python.org> <slrnndsbjk.19u.jon+usenet@wintry.unequivocal.co.uk> <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>
Mime-Version 1.0
Content-Type text/plain; charset=us-ascii
Content-Transfer-Encoding 7bit
X-Trace news.uni-berlin.de ML2zf9vUYaws9ZQW7/vtdA0Lm5oWXPKHYNXVTIOg/Psg==
Return-Path <python-python-list@m.gmane.org>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.000
X-Spam-Evidence '*H*': 1.00; '*S*': 0.00; 'needed,': 0.05; 'subject:Question': 0.05; 'bash': 0.07; 'git': 0.09; 'message- id:@4ax.com': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'unexpected': 0.09; 'unsigned': 0.09; 'syntax': 0.13; 'wed,': 0.15; '2016': 0.16; '>on': 0.16; 'received:80.91.229.3': 0.16; 'received:io': 0.16; 'received:plane.gmane.org': 0.16; 'received:psf.io': 0.16; 'scripts.': 0.16; 'skip:> 20': 0.16; 'titled': 0.16; 'wrote:': 0.16; 'script.': 0.18; 'skip:` 20': 0.18; 'url:home': 0.18; 'shell': 0.18; 'runs': 0.18; 'windows': 0.20; 'script': 0.25; 'installed': 0.26; 'header:X-Complaints- To:1': 0.26; 'error': 0.27; 'skip:( 20': 0.28; 'looks': 0.29; 'environment': 0.29; 'window': 0.30; 'run': 0.33; 'true.': 0.33; 'configured': 0.35; 'to:addr:python-list': 0.36; 'subject:: ': 0.37; 'say': 0.37; 'received:org': 0.37; 'charset:us-ascii': 0.37; 'skip:e 20': 0.39; 'to:addr:python.org': 0.40; 'mar': 0.65; '(utc),': 0.84; '>if': 0.84; 'presumably': 0.84; '-0000': 0.91; 'dennis': 0.91; 'received:108': 0.93
X-Injected-Via-Gmane http://gmane.org/
X-Gmane-NNTP-Posting-Host adsl-108-73-116-234.dsl.klmzmi.sbcglobal.net
X-Newsreader Forte Agent 6.00/32.1186
X-No-Archive YES
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.21
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Xref csiph.com comp.lang.python:104472

Show key headers only | View raw


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 | NextPrevious in thread | Next in thread | Find similar | Unroll thread


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