一方面是看自己是否使用了科学上网,如果使用了的话就关闭,重新安装。如果没有的话,就换个镜像源安装
pip install d2l -i http://pypi.douban.com/simple --trusted-host pypi.douban.com
一方面是看自己是否使用了科学上网,如果使用了的话就关闭,重新安装。如果没有的话,就换个镜像源安装
pip install d2l -i http://pypi.douban.com/simple --trusted-host pypi.douban.com