install 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.
Screenshot below
solution
Install the library which is not installed in the error message
Here I want to install pathlib library, ruamel-yaml library
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
Finally install the tensorflow library
pip install --upgrade tensorflow -i http://pypi.douban.com/simple/ --trusted-host pypi.douban.com