先按win +R 弹出搜索框,然后输入anaconda prompt
接着在窗口中输入:
pip install keras -i http://pypi.douban.com/simple --trusted-host pypi.douban.com
接着就可以很顺畅的在anaconda自带的Python中安装Keras了。
同理,如果其他包下不下来,只需要把Keras换成相应的包名即可,比如:要下载scipy ,就可以输入以下命令:
pip install SciPy -i http://pypi.douban.com/simple --trusted-host pypi.douban.com