How to Create a Virtual Environment Using a Different Python Version

preview_player
Показать описание
Learn how to create a python virtual environment with a different version of python.

Thumbnail: Photoshop designed
Video editing: Windows video editor and adobe premiere

Timecodes
00:00 - Intro
02:18 - Download and install another version of python
05:00 - Install virtualenv
05:52- Creating the Virtual environment using virtualenv
09:30 - What's in the Virtual Environment
10:15 - Activating the Virtual Environment
11:56 - Installing packages in the Virtual Environment
12:37 - deactivating the virtual environment
12:59 - Conclusion
Рекомендации по теме
Комментарии
Автор

Very helpful!! I looked around everywhere (stack of, other sites) as to how use a different python version in your venv and no one ever mentioned installing the virtualenv package. Very well explained and thank you so much!

dishanperera
Автор

I recommend this video 100%. That was very helpful.

iamuser
Автор

Thank you very much. Much appreciated!

Ishmaelstene
Автор

very helpful brother couldnt find the solution on the internet till now, then found this great video. Very good vid keep it up !!

pratt
Автор

Thank you for such a useful video gentleman! It was very helpful, and right on point.

farkhodkuchkarov
Автор

Buen trabajo, me estaba volviendo loco, tratando de crear un entorno virtual con Python 3.11.5 y mi instalación global era 3.12.0

bottonline
Автор

Can you explain how to upgrade minor version of python in local machine, without any effects to VENVs which already created by using existing python version ?

sonnydox
Автор

at 8:59 i got : FileNotFoundError: [WinError 2] The system cannot find the file specified:
any idea how to fix this?

tsxybxd
Автор

Even after globally installing virtualenv I keep on getting this error

'virtualenv' is not recognized as an internal or external command,
operable program or batch file.

Please help, I am badly stuck with my project because of this

techiegirlll
Автор

PS D:\code\virtual\project1> virtualenv -p .venv
RuntimeError: failed to query with code 1 err: ' File "c:\\users\\user\\appdata\\local\\programs\\python\\python39\\lib\\site-packages\\virtualenv\\discovery\\py_info.py", line 7\n from __future__ import annotations\n ^\nSyntaxError: future feature annotations is not defined\n'

Hi, I got this error while creating the virtual enviroment. Anyone know how to fix it?

aleshamardhy
welcome to shbcf.ru