Scale up as you grow — whether you're running one virtual machine or ten thousand.

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.

This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Accepted Answer
Hi there,
You will be working form the directory that you’ve created with the mkdir command.
For example let’s say that you have 2 projects:
project1 then cd into it and create the venv, python3 -m venv p1_envproject2 then cd into it and create the venv, python3 -m venv p2_envFor your second question, in order to install Python 3.9 on Ubuntu, you can use the pyenv CLI to install specific Python versions:
https://github.com/pyenv/pyenv#getting-pyenv
sudo apt-get update sudo apt-get install git curl python3-pip gcc make zlib1g-dev libssl-dev libbz2-dev libreadline-dev libsqlite3-dev
curl https://pyenv.run | bash
This will download and run the pyenv installer script. It will add the necessary configuration to your shell profile file (e.g. ~/.bashrc) to initialize pyenv on each new terminal session.
source ~/.bashrc
pyenv --version
This should output the version of pyenv that you installed.
pyenv install 3.10.0
This will download and install Python 3.10.0. You can install other Python versions in the same way.
pyenv global 3.10.0
This will set the global Python version to 3.10.0. You can also set the Python version for a specific directory using the pyenv local command.
Let me know if you have any questions!
Best,
Bobby