Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Could not find a version that satisfies the requirement in python

I am trying to create virtual env with python2 in mac os from here. While running pip install virtualenv command in terminal I am getting following error.

Could not find a version that satisfies the requirement virtualenv (from versions: )
No matching distribution found for virtualenv
like image 256
sshah Avatar asked Apr 10 '18 04:04

sshah


People also ask

Can I use pip to upgrade Python?

Updating Python Packages on Windows or LinuxPip can be used to upgrade all packages on either Windows or Linux: Output a list of installed packages into a requirements file (requirements.

How do I manually install pip in Python?

Step 1: Download the get-pip.py (https://bootstrap.pypa.io/get-pip.py) file and store it in the same directory as python is installed. Step 2: Change the current path of the directory in the command line to the path of the directory where the above file exists. Step 4: Now wait through the installation process.

Does Python 3.9 support pip?

The current version of pip works on: Windows, Linux and MacOS. CPython 3.7, 3.8, 3.9, 3.10 and latest PyPy3.


1 Answers

If you are using python 3.x, Please try this commands

sudo pip3 install --upgrade pip

sudo pip3 install virtualenv

like image 145
Bharath KM Avatar answered Oct 10 '22 22:10

Bharath KM