Sheltoncooper 2022-05-13 08:26 采纳率: 42.9%
浏览 62

jupyter notebook中安装official错误

问题遇到的现象和发生背景
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

  • 写回答

1条回答 默认 最新

  • 沐沐不是沫 2022-05-13 09:33
    关注

    你好,TensorFlow2.0以上版本出现报错
    ModuleNotFoundError: No module named 'official’

    可以使用以下命令下载:

    pip install tf-models-official
    pip install tf-models-official -i http://pypi.douban.com/simple/ # 豆瓣源
    
    
    

    img

    评论

报告相同问题?

问题事件

  • 创建了问题 5月13日

悬赏问题

  • ¥15 如何在scanpy上做差异基因和通路富集?
  • ¥20 关于#硬件工程#的问题,请各位专家解答!
  • ¥15 关于#matlab#的问题:期望的系统闭环传递函数为G(s)=wn^2/s^2+2¢wn+wn^2阻尼系数¢=0.707,使系统具有较小的超调量
  • ¥15 FLUENT如何实现在堆积颗粒的上表面加载高斯热源
  • ¥30 截图中的mathematics程序转换成matlab
  • ¥15 动力学代码报错,维度不匹配
  • ¥15 Power query添加列问题
  • ¥50 Kubernetes&Fission&Eleasticsearch
  • ¥15 報錯:Person is not mapped,如何解決?
  • ¥15 c++头文件不能识别CDialog