davidmarble / virtualenvwrapper-win

Port of Doug Hellmann's virtualenvwrapper to Windows batch scripts
Other
461 stars 106 forks source link

mkproject return error #112

Closed GiuseppeLaurenza closed 3 years ago

GiuseppeLaurenza commented 4 years ago

OS Windows 10 Pyenv 2.64.1 virtualenv 20.0.30 virtualenvwrapper-win 1.2.6

executing mkproject I receive an error message virtualenv: error: unrecognized arguments: -a

thebjorn commented 4 years ago

I didn't think pyenv ran on windows, do you mean pyenv-win? I tried to install it to test, but it requires you to do a number of steps that I believe will stomp all over my environment.

I can't reproduce your problem without pyenv, so my guess is that you've used pyenv to switch away from the python installation that has the latest virtualenvwrapper to a python version that has an older version.

GiuseppeLaurenza commented 4 years ago

yes I use pyenv-win

thebjorn commented 4 years ago

Have you installed virtualenvwrapper-win in every python installation you have on your machine? Is it the latest version in all of them? If not I would expect the problem you're seeing... (The only other case is if pyenv has installed its own mkvirtualenv, but I'm not familiar enough with pyenv to know if that is the case.)

GiuseppeLaurenza commented 4 years ago

Yes, I have a clean machine with only a single python and pyenv installation. I also tried to remove all the python installations and use only the pyenv one

thebjorn commented 4 years ago

I'm not sure I understand when you first say "only a single python" and then "remove all the python installations"... What does e.g. whereis mkvirtualenv show you?