《动手学深度学习》环境配置篇

自己按照书上Windows的安装中遇到的问题

D:\d2l-zh>conda env create -f environment.yml
Warning: you have pip-installed dependencies in your environment file, but you do not list pip itself as one of your conda dependencies.  Conda may not use the correct pip to install your packages, and they may end up in the wrong place.  Please add an explicit pip dependency.  I'm adding one for you, but still nagging you.

升级了pip:python -m pip install --user --upgrade pip==19.0.3  

要加--user

无法自动安装environment file中的依赖,就参照了https://discuss.gluon.ai/t/topic/13576论坛中的最新的安装方式,很详细,文章是在anconda prompt中完成,但也可以再书中提到的d2l-zh文件夹用cmd进行,按照论坛中的方式就可以完成了!

你可能感兴趣的:(《动手学深度学习》环境配置篇)