We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
赞一个,学习下老哥的代码
Linux运行命令行 $ 创建默认环境:python3 -m venv my_venv $ 创建指定环境:python3.6 -m venv my_venv, python2 -m venv my_venv(添加到系统环境变量中) $ 激活环境:. my_venv/bin/activate (. 或者 source ) $ 退出环境:deactivate Windows系统运行cmd,使用 "py" Python 启动器命令配合 "-m" 开关选项: $ 创建环境:py -3 -m venv my_venv (或者python -m venv my_venv) $ 创建指定环境:py -3.6 -m venv my_venv, py -3.7 -m venv my_venv (添加到系统环境变量中) $ 激活环境:my_venv\Scripts\activate.bat $ 退出环境:deactivate 执行后,会在目录前方出现<my_venv>表明已进入虚拟环境 安装项目: $ pip install -r requirements.txt
The text was updated successfully, but these errors were encountered:
No branches or pull requests
赞一个,学习下老哥的代码
Ptyhon创建虚拟环境
方法一:自带命令
The text was updated successfully, but these errors were encountered: