我想创建一个名为new-gooey_env
的全新conda环境
conda create --name new_gooey_env python=3.7
我收到通知,将安装以下软件包:
ca-certificates pkgs/main/win-64::ca-certificates-2020.6.24-0
certifi pkgs/main/win-64::certifi-2020.6.20-py37_0
openssl pkgs/main/win-64::openssl-1.1.1g-he774522_1
pip pkgs/main/win-64::pip-20.2.2-py37_0
python pkgs/main/win-64::python-3.7.7-h81c818b_4
setuptools pkgs/main/win-64::setuptools-49.4.0-py37_0
sqlite pkgs/main/win-64::sqlite-3.32.3-h2a8f88b_0
vc pkgs/main/win-64::vc-14.1-h0510ff6_4
vs2015_runtime pkgs/main/win-64::vs2015_runtime-14.16.27012-hf0eaf9b_3
wheel pkgs/main/win-64::wheel-0.34.2-py37_0
wincertstore pkgs/main/win-64::wincertstore-0.2-py37_0
zlib pkgs/main/win-64::zlib-1.2.11-h62dcd97_4
太好了。我安装它们并激活我的新环境
conda activate new_gooey_env
现在,当我键入pip freeze
时,我可以看到基本上我计算机上的每个包都已安装到这个新环境中
在我的新环境中pip freeeze
的输出大约是100个包
我如何创建一个新的环境,只使用最简单的包
我已经在谷歌上搜索了这个问题,并按照说明here操作,但不起作用,因此出现了问题
注意当我键入conda list
时,我只会得到上面的包列表
那么pip冻结命令正确吗?在我的新环境中是否也有100个包
编辑:在Windows上
使用
pip freeze -l
。 l代表本地pip freeze
否则会在您的所有环境中运行,因为您的virtualenv具有全局访问权限。这是我最好的猜测不,您的新环境没有100个包
相关问题 更多 >
编程相关推荐