Compare commits
3 Commits
d49f4e54c5
...
f357571bbf
| Author | SHA1 | Date | |
|---|---|---|---|
| f357571bbf | |||
| 290f0c8da5 | |||
| 9b4c9c9feb |
16
sysadmin/Linux/python/venv.html
Normal file
16
sysadmin/Linux/python/venv.html
Normal file
@@ -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>
|
||||||
Reference in New Issue
Block a user