python虚拟环境 #13

Closed
opened 1 year ago by Sirius · 0 comments
Sirius commented 1 year ago
Owner

python虚拟环境

新版本要求先创建虚拟环境

python3 -m venv myenv

激活虚拟环境

source myenv/bin/activate

然后就可以在里面正常使用pip了,依赖会被安装在当前虚拟环境下

# python虚拟环境 新版本要求先创建虚拟环境 ```shell python3 -m venv myenv ``` 激活虚拟环境 ```shell source myenv/bin/activate ``` 然后就可以在里面正常使用`pip`了,依赖会被安装在当前虚拟环境下
Sirius added the
ubuntu
label 1 year ago
Sirius closed this issue 1 year ago
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: Sirius/note#13
Loading…
There is no content yet.