环境:如何在Windows中使用命令行在python中的项目中安装包?
的Windows 10 64位
的Python 3.5.1 32位
Visual Studio代码
我所知道的
pip install xxxx
安装全球- 使用Pycharm通过设置
问题
安装如何安装包内 Windows上使用命令行的一个项目?我查看了文件,有一种叫做VirtualEnv
的东西,但是我在Windows中没有得到这个命令。
环境:如何在Windows中使用命令行在python中的项目中安装包?
的Windows 10 64位
的Python 3.5.1 32位
Visual Studio代码
我所知道的
pip install xxxx
安装全球问题
安装如何安装包内 Windows上使用命令行的一个项目?我查看了文件,有一种叫做VirtualEnv
的东西,但是我在Windows中没有得到这个命令。
您可以使用pip安装virtualenv。
pip install virtualenv virtualenvwrapper
安装完成后,您可以参考本指南开始使用virtualenv。
VIRTUALENV是你最好的选择。以下文章中的答案可以帮助您熟悉VirtualEnv。 Comprehensive beginner's virtualenv tutorial?
要在Windows上运行它,看看这个链接:
venv
Python自带。我不确定插件virtualenv和virtualenvwrapper有什么优势。 https://docs.python.org/3/library/venv.html?highlight=venv#module-venv
另请参考以下链接: http://www.tylerbutler.com/2012/05/how-to-install-python-pip-and-virtualenv-on-windows-with-powershell/ http://pymote.readthedocs.org/en/latest/install/windows_virtualenv.html –