python3.8安装tensorflow_windows10安装python3.8.5+tensorflow

windows10升级安装python3.8.5

进入网站:https://www.python.org/downloads/source/

下载链接:(python.org网站上的下载链接,用迅雷下载速度会快很多)

windows:(https://docs.python.org/3/using/windows.html#installation-steps)

1.https://www.python.org/ftp/python/3.8.5/python-3.8.5-amd64.exe(64位)  #20200724

2.https://www.python.org/ftp/python/3.8.5/python-3.8.5.exe(32位)

web-based: 执行安装后会透过网络下载python,如没有就会导致失败

executable: 可执行文件

embeddable zipfile: 打包成zip压缩包

升级安装出错:

3c5ea6cb66424b7ea1037ea0083a555d.jpg

Python 3.8.5 (64-bit) Setup

Setup failed

One or more issues caused the setup to fail. Please fix the issues and

then retry setup. For more information see the log file.

0x80072f7d -未指定的错误

解决办法:https://www.cnblogs.com/gambler/p/9575556.html

jupyter-notebook 修改默认的python版本https://blog.csdn.net/zhanqixuan22/article/details/88974624

安装tensorflow

pip --default-timeout=100 install tensorflow -i http://pypi.douban.com/simple/ --trusted-host pypi.douban.com

安装之后,import tensowflow时,出现提示:

1.I mportError:Could not find the DLLKs) ' msucp140_1.d11'.TensorFlow requires that these DLLshe installed in a directory that is named in your %PATH% environmen uariable. You may install these

DLLs by down loading "Microsoft C++ Redistribut able for Uisual Studio 2015,2017and 2019" for your platform from this URL: https://support - microsoft.com/help/2977003/the-latest -supported-visual-c-downloads

根据提示,下载所缺文件(为exe格式,安装一下)。ok.

https://support.microsoft.com/zh-cn/help/2977003/the-latest-supported-visual-c-downloads

2.2020-07- 26 17:09 :25.674847: W tensorf low/'s tream_exe cutor/ platf orm/de fault:/dso_1o

ader.cc:55] Could not load dynanic library,cudart64_101.d11 5 dlerrore cudart64_101.d11 not found

2020-07-26 17:09 :25.709849: I tensorf low/s tream_executor/cuda/cudart_stub. cc:29 ]

Ignore above cudart dlerror if you do not have a GPU set up on your mac hine .

解决办法:下载cudart64_101.dll

https://cn.dll-files.com/cudart64_101.dll.html

放到C:\Windows\SysWOW64下面。ok.

参考https://blog.csdn.net/qq_41999081/article/details/104515513

https://blog.csdn.net/sereasuesue/article/details/105329942

  • 2
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值