ModuleNotFoundError: No module named 'official'
!pip uninstall official -y
!pip install official -i http://pypi.douban.com/simple/ --trusted-host pypi.douban.com
WARNING: Skipping official as it is not installed.
Looking in indexes: http://pypi.douban.com/simple/
ERROR: Could not find a version that satisfies the requirement official (from versions: none)
ERROR: No matching distribution found for official
换成豆瓣镜像了还是不行
安装official
你好,TensorFlow2.0以上版本出现报错
ModuleNotFoundError: No module named 'official’
可以使用以下命令下载:
pip install tf-models-official
pip install tf-models-official -i http://pypi.douban.com/simple/ # 豆瓣源