docs: create sysadmin/Linux/python/venv
parent
290f0c8da5
commit
f357571bbf
|
|
@ -0,0 +1,16 @@
|
|||
<!--
|
||||
title: Виртуальная среда venv в python
|
||||
description:
|
||||
published: true
|
||||
date: 2024-04-12T10:15:15.531Z
|
||||
tags: venv, python
|
||||
editor: ckeditor
|
||||
dateCreated: 2024-04-12T10:15:15.531Z
|
||||
-->
|
||||
|
||||
<figure class="image"><img src="/venv.png"></figure>
|
||||
<p>Если появляется такое окно, то нужно зайти в виртуальную среду питона</p>
|
||||
<pre><code class="language-plaintext">sudo apt install python3.11-venv</code></pre>
|
||||
<pre><code class="language-plaintext">python3 -m venv .venv
|
||||
source .venv/bin/activate
|
||||
python3 -m pip install -r requirements.txt</code></pre>
|
||||
Loading…
Reference in New Issue