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
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.
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.
The current version of pip works on: Windows, Linux and MacOS. CPython 3.7, 3.8, 3.9, 3.10 and latest PyPy3.
If you are using python 3.x, Please try this commands
sudo pip3 install --upgrade pip
sudo pip3 install virtualenv
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With