![]() ![]() Run the following command in the terminal to create the Python virtual environment for project testproj: We create the Python virtual environment for testproj with the help of the virtualenv tool. Later on in this article we’ll create a quick example Python application, called testproj. Now that we know where we want to store our Python virtual environments, let’s move on to the actual creation of one. Assuming a Python project named testproj, its virtual environment would then be located in directory: For example in the venv directory inside your home directory. I recommend to store all your Python project’s virtual environments in one central place. Create a new Python virtual environment in the Linux terminalīefore jumping into the actual creation of the Python virtual environment in the Linux terminal, let’s first decide on where to store it.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |