The error isn't coming from the OS, there's case-sensitive logic in virtualenv.pl.
On Friday, August 11, 2017 at 1:07:39 PM UTC-7, Paul Moore wrote: > > Well, all I can say is that it doesn't do this for me: > > >virtualenv.exe xxx > Using base prefix > 'c:\\users\\gustav\\appdata\\local\\programs\\python\\python36' > New python executable in C:\Work\Scratch\xxx\Scripts\python.exe > Installing setuptools, pip, wheel...done. > > Yes, the base prefix is lowercased, as you can see, but it doesn't > cause any issues. > > It's difficult to know what might be going on here. I assume it's the > standard Windows build of Python from python.org, and that you're > using a standard NTFS filesystem (you don't have a case sensitive > filesystem for your home directory, do you?) > > Sorry I can't offer more help... > Paul > > On 11 August 2017 at 20:58, <j...@barrockproperties.com <javascript:>> > wrote: > > It's just a batch file that wraps virtualenv.exe. I get the same > output, > > less the first print statement, when I call virtualenv.exe directly. > > > > On Friday, August 11, 2017 at 12:00:10 PM UTC-7, Paul Moore wrote: > >> > >> On 11 August 2017 at 16:06, <j...@barrockproperties.com> wrote: > >> > I just installed virtualenv and am getting an error trying to create > an > >> > environment. Based on some print statements I added, sys.prefix > seems > >> > to be > >> > getting lowercased somewhere within virtualenv.exe, before runpy.py > >> > starts. > >> > And that leads to an error in change_prefix. > >> > > >> > I can't figure out what's going on inside virtualenv.exe, so this was > as > >> > far > >> > as I was able to debug it. Any advice? > >> > > >> > > >> > C:\Users\Jim>mkvirtualenv lob > >> > > >> > mkvirtualenv.bat about to call virtualenv.exe, sys.prefix = > >> > C:\Users\Jim\AppData\Local\Programs\Python\Python36 > >> > _run_module_as_main entered, sys.prefix = > >> > c:\users\jim\appdata\local\programs\python\python36 > >> > >> This isn't something I've encountered, but having said that I don't > >> use "mkvirtualenv.bat" - which is not something that comes with > >> virtualenv. Presumably you got it from some other package? It looks > >> like it might be from a Windows port of virtualenvwrapper. I suspect > >> the problem is in there, and you'd do better reporting the issue to > >> the author of that package. > >> > >> Alternatively, if you can reproduce the problem just using virtualenv > >> itself ("virtualenv env_name") then post that output. > >> > >> Paul > > > > -- > > You received this message because you are subscribed to the Google > Groups > > "virtualenv" group. > > To unsubscribe from this group and stop receiving emails from it, send > an > > email to python-virtual...@googlegroups.com <javascript:>. > > To post to this group, send email to python-v...@googlegroups.com > <javascript:>. > > Visit this group at https://groups.google.com/group/python-virtualenv. > > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "virtualenv" group. To unsubscribe from this group and stop receiving emails from it, send an email to python-virtualenv+unsubscr...@googlegroups.com. To post to this group, send email to python-virtualenv@googlegroups.com. Visit this group at https://groups.google.com/group/python-virtualenv. For more options, visit https://groups.google.com/d/optout.