On 10/01/2021 17.27, Sohail Tanveer wrote:
the git repo to which google directs me isĀ https://github.com/pyenv/pyenv-virtualenv

The first line of the readme says:

"pyenv-virtualenv is a pyenv plugin that provides features to manage virtualenvs and conda environments for Python on UNIX-like systems."

Windows is not a "UNIX-like system" so what made you think you could use that on Windows?

An ever better question is probably, what made you want to use pyenv-virtualenv on Windows in the first place?

There are probably better solutions as someone else has already commented, but it's probably easier for someone to help you if you let them know what you are trying to accomplish. I don't assume you're trying to port pyenv-virtualenv to Windows.


the command it wants me to execute in my cmd is $ git clone https://github.com/pyenv/pyenv-virtualenv.git $(pyenv root)/plugins/pyenv-virtualenv
and whenever i execute this it shows an error like


That's because that's a UNIX shell command, although I'm not sure if the $() syntax is standard. Anyway, that's not going to work in your DOS cmd shell and I doubt changing to a more sane command shell is going to help you.

So the short answer to your original question "how to install pyenv-virtualenv in Windows?" seems to be, "you don't".

Kind regards,

Kasper Laudrup

--
You received this message because you are subscribed to the Google Groups "Django 
users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/eadc871e-0e7e-913f-fab4-e8cf9bdebab8%40stacktrace.dk.

Reply via email to