随笔-python-venv
参考例子 https://pymupdf.readthedocs.io/en/latest/installation.html
| 操作 | 命令 |
|---|---|
| 创建并激活环境 | python -m venv xenv; source xenv/bin/activate |
| 安装包 | pip install xxx |
| 退出环境 | exit ? deactivate? |
| 删除环境 | 退出环境后,rm -rf xenv |
本文来自博客园,作者:LiYanbin,转载请注明原文链接:https://www.cnblogs.com/stellar-liyanbin/p/18555814

浙公网安备 33010602011771号