![]() For example: /users/username/pythonĮnter the following command to create a virtual environment in that path: python3 –m venv my_test_environment ![]() Once that process completes, you can create a virtual environment for Python. Change the directory to a location where you want to store your virtual environment. We are using the apt package installer because we’re installing the python-venv module globally. Install the module with the following terminal command: sudo apt install python3–venv To create a virtual environment, the python-venv module is required. ![]() Setup Python Virtual Environments (Optional)
0 Comments
Leave a Reply. |