Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #104352
| From | Jon Ribbens <jon+usenet@unequivocal.co.uk> |
|---|---|
| Newsgroups | comp.lang.python |
| Subject | Re: Question |
| Date | 2016-03-08 17:56 +0000 |
| Organization | A noiseless patient Spider |
| Message-ID | <slrnndu4o0.19u.jon+usenet@wintry.unequivocal.co.uk> (permalink) |
| References | (3 earlier) <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> |
On 2016-03-08, Ian Kelly <ian.g.kelly@gmail.com> wrote: > On Mon, Mar 7, 2016 at 6:41 PM, Jon Ribbens ><jon+usenet@unequivocal.co.uk> wrote: >> 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 would agree with this, except that git seems to think it *is* standard, and git itself seems pretty standard these days, so if git thinks it's standard then disagreeing with them seems a bit pointless. > 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. I would agree with this too, except that the shell script clearly is already implemented for Unix purposes and would do no harm if written to the directory, so presumably all 'venv' needs to do is to stop preventing itself doing something it already knows how to do. >> $ 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. The only things I can think of that are at all 'weird' are that there are spaces in the filenames, and there's more than one drive. But the former of those is utterly standard for Windows, and the latter doesn't really even rise to the level of 'uncommon', let alone truly unusual. If I'm seeing these problems then thousands of other people must have already seen them before me.
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