pythonvirtualenvsys.path

Not able to create Python virtual env with lesser version than installed


I installed Python 3.9.0 recently, and I am using virtualenv package. While creating a new environment with specifying a lesser python version, say 3.6 I am getting this error: RuntimeError: failed to find interpreter for Builtin discover of python_spec='python3.6'

I suppose I don't need to download 3.6 specifically to create an environment for that python version. Can I get around it using just virtualenv package?


Solution

  • you need to download Python 3.6 in order to use it you could store in an environment but you can't get python 3.6 by creating an environment for it.