Pip from Python 2.7.10 installed via pyenv-win cannot install any packages

45 views Asked by At

I installed pyenv-win to create virtual environments in windows. One of the environments I need requires Python 2.7.10. To create virtual environments for Python versions below 3.3 I need to install the package "virtualenv", since only the versions 3.3+ have the "venv" package pre-installed. The problem I encountered was when I tried to install the virtualenv package with pip install virtualenv or python -m pip install virtualenv I literally got nothing, no error and no installation, nothing happens.

I tried to install other packages like numpy and nothing happens as well.

When I input the command pip install virtualenv -v it shows the command Starting new HTTPS connection (1): pypi.python.org and then nothing happens yet again.

I tried with versions of Python3 installed via pyenv-win and, for example, with Python 3.12.0 everything worked fine.

If it helps the pip version is 7.0.1.

Thanks in advance!

0

There are 0 answers