How to Create Virtual Python Environments in Linux Ubuntu Using Command Line - Python Tutorial

preview_player
Показать описание
#python #vscode #programming #linux #ubuntu #aleksandarhaber #ros #ros2 #robotics #Cpp #engineering
It takes a significant amount of time and energy to create these free video tutorials. You can support my efforts in this way:
- You Can also press the Thanks YouTube Dollar button

In this Python and Linux Ubuntu tutorial, we explain how to create virtual Python environments in Linux by using the Linux terminal (Linux Ubuntu command line). We explain how to create a virtual environment and how to install packages in the virtual environment by using pip install command. We also explain how to execute a Python program in a virtual environment. Finally, we explain how to deactivate the Python virtual environment.
Рекомендации по теме
Комментарии
Автор

It takes a significant amount of time and energy to create these free video tutorials. You can support my efforts in this way:
- You Can also press the Thanks YouTube Dollar button

aleksandarhaber
Автор

Thanks much. After blowing up my LMDE installation by removing the default linux system Python with the -Purge option, I needed to figure this out. (I could not install Pandas and other things).
So, all is working fine now and I can easily create and use VENV's without concern of new packages failing to install, or corrupting/overwriting existing packages.
Also of note... after creating and activating a new VENV, I can use "python" and "pip" rather than "python3" and "pip3" in the VENV!! Although both python and python3 both work just fine - the same with a "which" command.

WolfieDad
join shbcf.ru