安装tensorflow

2020-06-11 走过路过 2509 0

tensorflow是流行的机器学习工具,下面是需要安装的组件:

安装VC ++程序,否则会报找不到dll的错误。
下载地址:https://support.microsoft.com/zh-cn/help/2977003/the-latest-supported-visual-c-downloads

安装tensorflow: 
pip3 install -i http://mirrors.aliyun.com/pypi/simple --trusted-host mirrors.aliyun.com tensorflow==1.12.0

重新安装protobuf
卸载新版的protobuf:pip uninstall protobuf
安装旧版:pip install protobuf==3.6.0

 
相关推荐
全部评论 最新评论 最早评论
还没有用户评论

联系我们

微信公众号
打赏作者