loading...

Discussion on: How to Setup Python Virtual Environment for Python3 on Ubuntu 19.10

Collapse
jsgurugit profile image
jsguru Author

Hi Ben

As you know, pyenv is a tool for managing multiple Python versions.
And you can create virtual environment using the pyenv-virtualenv extension.

$ pyenv virtualenv 3.8.0 my-python-project-env

We can compare it to creating a gemset in ruby.

$ rvm gemset create my-ruby-project-env

What you can see here is that when you create a virtual environment you can set python version with pyenv.