自己按照书上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进行,按照论坛中的方式就可以完成了!
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)