Search code examples
pythonpipwindows-10virtualenvvirtual-environment

Can't pip install virtualenv on Windows 10 for Python, version doesn't satisfy, no matching distribution


When attempting to install the virtualenv package I get the following error:

C:\Users\user>pip install virtualenv
ERROR: Could not find a version that satisfies the requirement virtualenv (from versions: none)
ERROR: No matching distribution found for virtualenv

I'm using a basic user profile (not admin) on Windows 10, Python 3.8.2, pip 20.0.2, and the basic command prompt shell.


Solution

  • I don't know if this will help future searchers, but the pip install worked after I finished modifying and repairing Visual Studio Community and Visual Studio Build Tools.

    I had them modifying from the Visual Studio Installer in the background, removing unnecessary packages. Meanwhile, I ran the above virtualenv installation and got the error. After the VS modifications were complete, I ran repairs on both from the VS Installer because they hit some hiccups. Then, I tried pip install virtualenv again from the command prompt, and it worked.

    I'm not sure why, but I think either the VS modify processes themselves were interrupting the pip install, or there were VS errors that needed to be repaired before virtualenv could install.