问题描述
ERROR: Could not find a version that satisfies the requirement xxxxx
(from versions: none)
安装tensorboard,为什么别人安装那么容易,到我这就有坑,真是被气到没脾气,到底是哪里不行啊!!!!
pytorch下 直接pip install tensorboard
达咩
tensorflow下也不行
解决方案:
最后发现环境切错了,要在tensorflow(或者pytorch)的环境下配置:
只需要
pip install 包名 -i http://pypi.douban.com/simple/ --trusted-host pypi.douban.com
例如:
pip install tensorboard -i http://pypi.douban.com/simple/ --trusted-host pypi.douban.com
成功安装~~