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


Groups > comp.lang.python > #104349

Re: Question

Path csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail
From Ian Kelly <ian.g.kelly@gmail.com>
Newsgroups comp.lang.python
Subject Re: Question
Date Tue, 8 Mar 2016 10:19:09 -0700
Lines 34
Message-ID <mailman.52.1457457599.15725.python-list@python.org> (permalink)
References <CAPZK=NPMN1JRHCNivWojp0QvQQpoh02cHbxn1VOhLnE8fg4idg@mail.gmail.com> <mailman.30.1457369898.10335.python-list@python.org> <slrnndrh4r.19u.jon+usenet@wintry.unequivocal.co.uk> <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>
Mime-Version 1.0
Content-Type text/plain; charset=UTF-8
X-Trace news.uni-berlin.de yxy7nTD+VqkVF+3AWfMcqQAgqjpMoC/GiKJYqaX3v75w==
Return-Path <ian.g.kelly@gmail.com>
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; 'error:': 0.05; 'subject:Question': 0.05; 'bash': 0.07; 'executable': 0.07; 'prefix': 0.07; 'root,': 0.07; 'complaining': 0.09; 'git': 0.09; 'indeed,': 0.09; 'python': 0.10; '2016': 0.16; 'ah,': 0.16; 'conceivably': 0.16; 'posix': 0.16; 'received:io': 0.16; 'received:psf.io': 0.16; 'run:': 0.16; 'shells': 0.16; 'wrote:': 0.16; 'script.': 0.18; 'shell': 0.18; '>>>': 0.20; 'windows': 0.20; 'denied': 0.22; 'file.': 0.22; 'am,': 0.23; '(or': 0.23; 'tried': 0.24; 'header:In-Reply-To:1': 0.24; 'all.': 0.24; 'mon,': 0.24; 'script': 0.25; "i've": 0.25; "doesn't": 0.26; 'installed': 0.26; 'linux': 0.26; 'message-id:@mail.gmail.com': 0.27; 'looks': 0.29; '(although': 0.29; 'typically': 0.29; 'creating': 0.30; 'e.g.': 0.30; 'probably': 0.31; 'run': 0.33; 'problem': 0.33; 'file': 0.34; 'running': 0.34; 'received:google.com': 0.35; 'trouble': 0.35; 'could': 0.35; 'activate': 0.35; 'installing': 0.35; 'path': 0.35; 'something': 0.35; 'expected': 0.35; 'should': 0.36; 'received:209.85': 0.36; 'possible': 0.36; 'to:addr:python- list': 0.36; 'pm,': 0.36; 'subject:: ': 0.37; 'say': 0.37; 'received:209.85.213': 0.37; "won't": 0.38; 'received:209': 0.38; 'files': 0.38; 'test': 0.39; 'does': 0.39; 'to:addr:python.org': 0.40; 'close': 0.61; 'provide': 0.61; 'skip:n 10': 0.62; 'mar': 0.65; 'situation': 0.67; 'refuses': 0.84; 'to:name:python': 0.84
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=elCBD5BVAEkq/m1RkXw3qm5WwFQ/fSF/IjqmbddOYs0=; b=HayZzk7k90sDlBy9EKs9MeEt7Kq5iqTHkVmYfXBJjafAWyQIW5KL5yPJOXE9lzOXjz CUZes273ohnrT8r4i0hDTSOLQ1XgtH44SmWnN0ydZDafNrmlQRthNL+PvcJHfKem6u47 OUU04ohMX90IvmiiBfZdy0ceVarMKOs/dRO0GXaR0lHtVeXpB8qeHn9WuPBS0bc/2z8E JmBmnX4QG9RVgzbJ+54K7PFo1nTHbYkhlKdojWrcSRuKmZxLMC+AT/l8SDBiGEZ7aCR5 fWwt2o5h9HSXp/YYxr1Ug+L/8NcAi06lcmaAKl/NGuVCKAA2l3owBvxVE5NJtUzl5yV7 ReMQ==
X-Google-DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=elCBD5BVAEkq/m1RkXw3qm5WwFQ/fSF/IjqmbddOYs0=; b=WWD105dKA/Y6pWDC+YYOaTQvaozposAgasfxPsgHJipw7ATtbq2fzWj1r9BNirXm/h 9VkjSJidDxzriYH2sEfECIGOPLKaH11O0Hwpo1/Y9Yjyb2jKaPzFtL9F/S/tgh8hc9S0 C5/laz9nm243irlmtW13JlPKUDRB2Qgef9Gv3fOKE56soNCjaDUiUl71ZVTCHWEQxjHN sEliLhZ693eZm6U18oQ3EgZz7fgMpaG2v4tUNY6Vrv1rWvYLcGhaDztDrXcNKW6cRtly qdaZQ9U8zUZinxe+4GJ9OSI2U0g4KBSBQERepeHETj3lBhfzpF8/WpQpU7lq0+7Yoay4 PM3g==
X-Gm-Message-State AD7BkJKuaM8eDnV7Pmp75n/BWELGjaybrBviRen6rHduhbiff0Wuzj9+0ELyzogD2zjo9AsuEIZYe2AHKa4I6Q==
X-Received by 10.50.61.177 with SMTP id q17mr19013217igr.68.1457457589673; Tue, 08 Mar 2016 09:19:49 -0800 (PST)
In-Reply-To <slrnndsbjk.19u.jon+usenet@wintry.unequivocal.co.uk>
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:104349

Show key headers only | View raw


On Mon, Mar 7, 2016 at 6:41 PM, Jon Ribbens
<jon+usenet@unequivocal.co.uk> wrote:
> On 2016-03-07, Ian Kelly <ian.g.kelly@gmail.com> wrote:
>> On Mon, Mar 7, 2016 at 11:51 AM, Jon Ribbens
>><jon+usenet@unequivocal.co.uk> wrote:
>>> I must say that Python on Windows was a very poor experience indeed,
>>> "virtualenv" does not work and "venv" refuses to create the 'activate'
>>> shell script so does not work either
>>
>> I've used both of these on Windows (although not recently) and had no
>> trouble with them. I never had a problem with venv not creating the
>> activate.bat file.
>
> It's not activate.bat, it's activate (no file extension) the posix
> shell script. I installed Git for Windows which provides bash (or
> something that looks like it). Python venv doesn't cope with this
> situation at all.

Well, running bash on Windows is decidedly non-standard. This is like
installing a Python package on a Linux system and then complaining
that it won't run under wine. I don't think that Python should be
expected to provide an activate script for all possible shells the
user might conceivably want to use.

> 'virtualenv' works even less well, it just says:
>
> $ virtualenv test
> Using base prefix 'd:\\program files (x86)\\python35-32'
> New python executable in D:\Users\Jon Ribbens\Documents\Python\test\Scripts\python.exe
> ERROR: The executable "D:\Users\Jon Ribbens\Documents\Python\test\Scripts\python.exe" could not be run: [WinError 5] Access is denied

Ah, I probably never tried using it inside a user dir. On Windows I
typically do development in a path close to the drive root, e.g.
C:\dev.

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