4 - Python & Python Virtual Environment Setup on macOS - Python & Django 3.2 Tutorial Series

4 - Python & Python Virtual Environment Setup on macOS - Python & Django 3.2 Tutorial Series

CodingEntrepreneurs

2 года назад

30,288 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

Priyank Pandey
Priyank Pandey - 15.06.2023 22:54

Hi- thank you for creating this. I have a question maybe you can help. I am successfully able to install different versions of python (I installed 3.10 and 3.11). I created the venv folder and then hit source bin/activate. I can successfully get my virtual environment to load. But when I open a new terminal, without the virtual environment loaded, and check the python version it shows whatever was the latest version I loaded, not the default version. Why?

Ответить
Artem
Artem - 17.09.2022 15:49

Thanks. You explanations are so understandable!

Ответить
steven kitavi
steven kitavi - 12.06.2022 13:09

Hey Mitch, i'm beginning the series now, i see Mac M1 doesn't have Python 3.6.* can i use Python 3.9.*?

Ответить
Manas
Manas - 02.02.2022 17:12

Thank you so much was searching for a solution for almost 3-4 hours😅.

Ответить
diki muhamad syidik
diki muhamad syidik - 19.10.2021 18:30

my career boosted because of CFE

Ответить
omix
omix - 26.09.2021 16:06

What if I want to use a different version of python when I create the virtual env? How do I do that? How do I choose the version of python I want and create the env with that version?

Ответить
Dawn Ghost
Dawn Ghost - 21.09.2021 20:39

I have python 3.9.7 right now, is that ok to use for this tutorial?

Ответить
omix
omix - 15.09.2021 20:22

For every project you make, you need to create a different venv? I still dont get what this virtual env means and what exactly is used for.

Ответить
adel
adel - 15.08.2021 12:11

Summary for Linux users, just run:

sudo apt install python 3.6
sudo apt install python3.6-venv
python3.6 -m venv .

Ответить
Leonjek
Leonjek - 15.08.2021 09:53

Hey man, thank you. Do I have to use Python 3.6 or can I use 3.8.9 for this tutorial?

Ответить
Terry Chootiyaa
Terry Chootiyaa - 15.08.2021 01:07

Thank you "Django-Daddy" 😊👍🍻

Ответить