Well, from that error message, it seems like you may have a permissions issue. Also, the git shell is not the sane as a real shell. There are multiple windows terminal emulators. Why not use one of those? On Mar 7, 2016 5:46 PM, "Jon Ribbens" <jon+use...@unequivocal.co.uk> wrote:
> On 2016-03-07, Ian Kelly <ian.g.ke...@gmail.com> wrote: > > On Mon, Mar 7, 2016 at 11:51 AM, Jon Ribbens > ><jon+use...@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. > > '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 > -- > https://mail.python.org/mailman/listinfo/python-list > -- https://mail.python.org/mailman/listinfo/python-list