<div><h3id="virtualenvironments">Virtual Environments</h3><p><strong>System for installing libraries directly into project's directory.</strong></p><pre><codeclass="bash language-bash hljs">$ python3 -m venv NAME <spanclass="hljs-comment"># Creates virtual environment in current directory.</span>
$ <spanclass="hljs-built_in">source</span> NAME/bin/activate <spanclass="hljs-comment"># Activates env. On Windows run `NAME\Scripts\activate`.</span>
<div><h3id="virtualenvironments">Virtual Environments</h3><p><strong>System for installing libraries directly into project's directory.</strong></p><pre><codeclass="python hljs">$ python3 -m venv NAME <spanclass="hljs-comment"># Creates virtual environment in current directory.</span>
$ source NAME/bin/activate <spanclass="hljs-comment"># Activates env. On Windows run `NAME\Scripts\activate`.</span>
$ pip3 install LIBRARY <spanclass="hljs-comment"># Installs the library into active environment.</span>
$ pip3 install LIBRARY <spanclass="hljs-comment"># Installs the library into active environment.</span>
$ python3 FILE <spanclass="hljs-comment"># Runs the script in active environment. Also `./FILE`.</span>
$ python3 FILE <spanclass="hljs-comment"># Runs the script in active environment. Also `./FILE`.</span>
$ deactivate <spanclass="hljs-comment"># Deactivates the active virtual environment.</span>
$ deactivate <spanclass="hljs-comment"># Deactivates the active virtual environment.</span>