报错pip‘s dependency resolver does not currently take into account all the packages that are installed

安装pip tensorflow

pip install  --upgrade tensorflow  -i http://pypi.douban.com/simple/ --trusted-host pypi.douban.com

报错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.
conda-repo-cli 1.0.4 requires pathlib, which is not installed.
anaconda-project 0.10.2 requires ruamel-yaml, which is not installed.

截图如下

报错pip‘s dependency resolver does not currently take into account all the packages that are installed_第1张图片

解决方案

报错pip‘s dependency resolver does not currently take into account all the packages that are installed_第2张图片

对报错提示中which is not installed的库进行安装

在我这里是要安装pathlib库、ruamel-yaml库

pip install  --upgrade pathlib  -i http://pypi.douban.com/simple/ --trusted-host pypi.douban.com
pip install  --upgrade ruamel-yaml  -i http://pypi.douban.com/simple/ --trusted-host pypi.douban.com

最后安装tensorflow库

pip install  --upgrade tensorflow  -i http://pypi.douban.com/simple/ --trusted-host pypi.douban.com

你可能感兴趣的:(tensorflow,python,深度学习)