Home Page Microblog



Download 2,44 Mb.
Pdf ko'rish
bet7/17
Sana30.12.2021
Hajmi2,44 Mb.
#90837
1   2   3   4   5   6   7   8   9   10   ...   17
Bog'liq
mega-tutorial

$ virtualenv venv

Regardless of the method you used to create it, you should have your virtual environment

created. Now you have to tell the system that you want to use it, and you do that by activating

it. To activate your brand new virtual environment you use the following command:



$ source venv/bin/activate

(venv) $ _

If you are using a Microsoft Windows command prompt window, the activation command is

slightly different:

$ venv\Scripts\activate

(venv) $ _

When you activate a virtual environment, the configuration of your terminal session is modified

so that the Python interpreter stored inside it is the one that is invoked when you type

python

.

Also, the terminal prompt is modified to include the name of the activated virtual environment.



The changes made to your terminal session are all temporary and private to that session, so

they will not persist when you close the terminal window. If you work with multiple termi-

nal windows open at the same time, it is perfectly fine to have different virtual environments

activated on each one.

Now that you have a virtual environment created and activated, you can finally install Flask in

it:



Download 2,44 Mb.

Do'stlaringiz bilan baham:
1   2   3   4   5   6   7   8   9   10   ...   17




Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©hozir.org 2024
ma'muriyatiga murojaat qiling

kiriting | ro'yxatdan o'tish
    Bosh sahifa
юртда тантана
Боғда битган
Бугун юртда
Эшитганлар жилманглар
Эшитмадим деманглар
битган бодомлар
Yangiariq tumani
qitish marakazi
Raqamli texnologiyalar
ilishida muhokamadan
tasdiqqa tavsiya
tavsiya etilgan
iqtisodiyot kafedrasi
steiermarkischen landesregierung
asarlaringizni yuboring
o'zingizning asarlaringizni
Iltimos faqat
faqat o'zingizning
steierm rkischen
landesregierung fachabteilung
rkischen landesregierung
hamshira loyihasi
loyihasi mavsum
faolyatining oqibatlari
asosiy adabiyotlar
fakulteti ahborot
ahborot havfsizligi
havfsizligi kafedrasi
fanidan bo’yicha
fakulteti iqtisodiyot
boshqaruv fakulteti
chiqarishda boshqaruv
ishlab chiqarishda
iqtisodiyot fakultet
multiservis tarmoqlari
fanidan asosiy
Uzbek fanidan
mavzulari potok
asosidagi multiservis
'aliyyil a'ziym
billahil 'aliyyil
illaa billahil
quvvata illaa
falah' deganida
Kompyuter savodxonligi
bo’yicha mustaqil
'alal falah'
Hayya 'alal
'alas soloh
Hayya 'alas
mavsum boyicha


yuklab olish