赞
踩
环境准备:
Windows10
PyCharm2020.3 x64
python -m venv {创建的虚拟环境名称}
python -m venv myvenv
,其中myvenv就是我创建的的虚拟环境的名称admin@DESKTOP-6G4U7L8 MINGW64 /e/SC/Python/code
$ cd myvenv/
admin@DESKTOP-6G4U7L8 MINGW64 /e/SC/Python/code/myvenv
$ ls
Include/ Lib/ Scripts/ pyvenv.cfg
admin@DESKTOP-6G4U7L8 MINGW64 /e/SC/Python/code/myvenv
$ cd Scripts/
admin@DESKTOP-6G4U7L8 MINGW64 /e/SC/Python/code/myvenv/Scripts
$ ls
Activate.ps1 deactivate.bat pip.exe* python.exe*
activate easy_install-3.8.exe* pip3.8.exe* pythonw.exe*
activate.bat easy_install.exe* pip3.exe*
这样就可以去尝试一下pycharm中的虚拟环境啦!
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。