Sign in

How to switch Python Versions and VirtualEnvs gracefully?

Use Homebrew to install pyenv.

https://github.com/pyenv/pyenv#homebrew-on-macos

Then brew install pyenv-virtualenv. Then config fish by vim ~/.config/fish/config.fish.

Here are some useful commands.

python --version should show you 3.8.1.

Now let’s create an backend api project.

Then follow https://docs.djangoproject.com/en/3.0/intro/tutorial01/

Ruby, JavaScript and Python developer.