Create a Virtual Environment Using Conda with Different Python Version (2024)

preview_player
Показать описание
In this video, I'll show you how you can create a python virtual environment using conda using a different python version that the base environment.
Conda makes it very easy to create, and manage python virtual environments. Using conda we can easily change the python version in a virtual environment, which is kind of a hassle with the default python venv module.

🌐Connect with me:

Steps to Create Virtual Environment with Different Python Version:
1. Open Terminal
2. Create conda virtual environment: conda create --name my-venv
3. Activate the virtual environment: activate my-venv
4. Install any python version: conda install python=3.6

By the end of this video, you'll learn how to create conda virtual environments and how you can change the python version in the environment, if you have any problems, let me know in the comments below.

#conda #condaenvironment #python #pythonvirtualenvironment #virtualenvironment
Рекомендации по теме