Reputation: 7
After running this command (OS = Windows 11):
virtualenv -p install python venv
I'm getting this error:
RuntimeError: failed to find interpreter for Builtin discover of python_spec='install'
I had multiple Python versions installed. I deleted them all, reinstalled Python 3.12, and virtualenv package.
But now I am getting the error above while trying to create a virtual Python environment.
Upvotes: -1
Views: 103
Reputation: 1289
Command
virtualenv -p install python venv
is incorrect.
Correct command would look like:
virtualenv -p python venv
Upvotes: 2