安装和卸载CPU版Tensorflow

conda create -n tensorflowenv python=3.7

conda activate tensorflowenv

(tensorflowenv) C:\Windows\system32>pip list
Package      Version
------------ ---------
certifi      2022.12.7
pip          22.3.1
setuptools   65.6.3
wheel        0.38.4
wincertstore 0.2

pip install tensorflow -i https://pypi.tuna.tsinghua.edu.cn./simple

>>> tensorflow.test.is_gpu_available()

False

>>> exit()

pip list

pip uninstall tensorflow

python

>>> import tensorflow
>>> tensorflow.__version__
'2.11.0'
>>> exit()

pip uninstall tensorboard                  2.11.2
pip uninstall       tensorboard-data-server      0.6.1
pip uninstall       tensorboard-plugin-wit       1.8.1
pip uninstall       tensorflow                   2.11.0
pip uninstall       tensorflow-estimator         2.11.0
pip uninstall       tensorflow-intel             2.11.0
pip uninstall       tensorflow-io-gcs-filesystem 0.31.0

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值