docs: create sysadmin/Linux/python/venv
This commit is contained in:
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