使用pip源安装tensorflow或其他包
使用pip源安装tensorflow或其他包
使用pip源安装tensorflow或其他包
// 安装1.10.0 CPU 版本的tensorflow
pip install -i http://mirrors.aliyun.com/pypi/simple/ tensorflow==1.10.0 --trusted-host mirrors.aliyun.com
一般windows环境下要加上–trusted-host mirrors.aliyun.com,不然会报错:WARNING: The repository located at mirrors.aliyun.com is not a trusted or secure host and is being ignored. If this repository is available via HTTPS we recommend you use HTTPS instead, otherwise you may silence this warning and allow it anyway with ‘–trusted-host mirrors.aliyun.com’.
ERROR: Could not find a version that satisfies the requirement tensorflow1.10.0 (from versions: none)
ERROR: No matching distribution found for tensorflow1.10.0