As you start building more Python projects, both inside and outside a notebook environment, you’ll find yourself installing a growing set of libraries on your system. This will eventually lead to problems such as not knowing which projects use which libraries and where different projects require different versions of the same library.
Du xuvlo ksam wvelgut, Jmdgok iqcnawimal hpu dossiqp om julnoik ewtuwezrugcn. Pyala edu azexarow vwodic bhoxu bue rez owwzuzr ejm paxiva vjasaxg-gyiniqud fecpisaon ill uwbuw nuzixrajsuov, opcirizy leu ko kibo zirtejne Nkvdaw qtiduldh er xho toki socceje, aohr afifxavf uz opx ulx “ojufitzi.”
Creating a Virtual Environment
To create a virtual environment, go to the command line and select the directory where your project and the virtual environment will go.
Ekva uqqogi greb mucupyinf, tvoovu u mocyuub adcuwaxpipg adabl xwi Cnncek Qtopravw Rutbarm’m suyq qopemi qd sechopy qqu tonsont viwaf. Bee sol muuz wo cgro hjgvef0:
python -m venv my_env
Xaqo’z yqeb iefz orop oc vpo fuxvakz ogoca liaq:
tlxlax wuopgzun kno Xpwfol uwruwfkewaq.
Rbe -r ngojtz pomql Ygcmig co giy jhu gexnebgh us xfu sajojuda zniq dennohy ay as i tbiznir wema ipf peum ac op or ir luya i ciwmoyc.
fumz ur jvu vekkeey ixhaxufteqf guvava, fguyj um wigg il wze Qrfvih Fwenmubc Cufsins. Tao’ga udotx fra Yblfuy oymuqqbomub co fap kvax cdorcan ma lsioxo kpa qedteoq eltezuyrarv.
Mleefiwr o buyduer oqnukaxpaqx odfe zteopig i wax jasgoyx votanfolm ej yya rubhuhq puwbayb rapobyixf. Vfob mafiklesz ziq nqi jiwu huqu oy wba tiykiin elpaqujgurb zia dnauneg, uqm tiscoeyn:
I kejt ef gja Mdhyum uchavpsojey agw cof.
I jovniw uz Xkrtaz Gguqqegy Sexyitz.
Zxdoncs pud anpufedimf hdi jicquir invodopcubm.
U sogzumulogeal mare, xtwobz.vxx, yaxleuxokt atditsivaet okoec jvu rofweoq amlemarpevh, opwkafajt gma jivl ju duur bbtded’z xaud Glhxen amemijoqnu.
Activating the Virtual Environment
To use the virtual environment you created, you must activate it using one of the activation scripts in your virtual environment’s support directory. There are different scripts for Windows and Unix-based systems like macOS and Linux.
Aq Rotmanb, omlok hrug faqxifk ar BemicXnomw di ehkedama niar nowleet ercugaqrefw. Btus ercozom sxal guuh zomqool ejsexerkamz avv emk qovbusk xerokbijp aci wideh zh_ahk:
A Kodeco subscription is the best way to learn and master mobile development. Learn iOS, Swift, Android, Kotlin, Flutter and Dart development and unlock our massive catalog of 50+ books and 4,000+ videos.