How to set up specific python version for virtual environment for python? [duplicate]

We Are Going To Discuss About How to set up specific python version for virtual environment for python? . So lets Start this Python Article.

How to set up specific python version for virtual environment for python?

  1. How to solve How to set up specific python version for virtual environment for python? [duplicate]

    You can do
    virtualenv -p python3.7.5 [name]
    but you need to have python3.7.5 in your $PATH or you will get
    RuntimeError: failed to find interpreter for Builtin discover of python_spec='python3.7.5'
    So, you would better use conda
    conda create --name [name] python=3.7.5

  2. How to set up specific python version for virtual environment for python? [duplicate]

    You can do
    virtualenv -p python3.7.5 [name]
    but you need to have python3.7.5 in your $PATH or you will get
    RuntimeError: failed to find interpreter for Builtin discover of python_spec='python3.7.5'
    So, you would better use conda
    conda create --name [name] python=3.7.5

Solution 1

You can do

virtualenv -p python3.7.5 [name]

but you need to have python3.7.5 in your $PATH or you will get

RuntimeError: failed to find interpreter for Builtin discover of python_spec='python3.7.5'

So, you would better use conda

conda create --name [name] python=3.7.5

Original Author ghchoi Of This Content

Conclusion

So This is all About This Tutorial. Hope This Tutorial Helped You. Thank You.

Also Read,

ittutorial team

I am an Information Technology Engineer. I have Completed my MCA And I have 4 Year Plus Experience, I am a web developer with knowledge of multiple back-end platforms Like PHP, Node.js, Python and frontend JavaScript frameworks Like Angular, React, and Vue.

Leave a Comment