门户网站是,建设网站建设方案,深圳网络推广公司天涯问答,装修平台网络推广公司1.TensorFlow安装 #xff0c;在原本的虚拟环境下配置Tensorflowh和pytorch
2.我首先在anaconda的环境下创建了一个tensorflow文件夹
如何先进入D盘#xff0c;再进入tensorflow文件夹的目录D:cd D:\Anaconda\TensorFlowSoftWarepip install tensorflow如图所示报错解决方法 …1.TensorFlow安装 在原本的虚拟环境下配置Tensorflowh和pytorch
2.我首先在anaconda的环境下创建了一个tensorflow文件夹
如何先进入D盘再进入tensorflow文件夹的目录D:cd D:\Anaconda\TensorFlowSoftWarepip install tensorflow如图所示报错解决方法 1升级pip
python -m pip install --upgrade pip -i http://pypi.douban.com/simple/ --trusted-host pypi.douban.com2用镜像源进行下载1清华镜像源
pip3 install numpy -i https://pypi.tuna.tsinghua.edu.cn/simple
2豆瓣
pip3 install numpy -i http://pypi.douban.com/simple/
3中国科学技术大学
pip3 install numpy -i https://pypi.mirrors.ustc.edu.cn/simple
3输入
pip3 install tensorflow安装继续失败 出现以下报错 ERROR: pip’s dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts. daal4py 2021.6.0 requires daal2021.4.0, which is not installed. numba 0.55.1 requires numpy1.22,1.18, but you have numpy 1.24.3 which is incompatible.
经过这一通的瞎操作我关了梯子然后输入
pip3 install tensorflow就下载成功了
3.下载成功如图所示 4.然后验证是否安装成功 输入
pythonimport tensorflow as tftf.__version__显示如图所示则安装成功