Ubuntu 18.04中的TensorFlow安装错误

问题描述

我遇到安装错误“错误:在tensorflow中找不到匹配的分发版本” ,尝试在数字海洋(CapRover)中部署我的应用程序时,在错误日志下方,有谁可以帮助我这个!!

Collecting pip==20.2.2 (from -r requirements.txt (line 1))
Downloading https://files.pythonhosted.org/packages/5a/4a/39400ff9b36e719bdf8f31c99fe1fa7842a42fa77432e584f707a5080063/pip-20.2.2-py2.py3-none-any.whl (1.5MB)
Collecting numpy==1.19.1 (from -r requirements.txt (line 2))
Downloading https://files.pythonhosted.org/packages/2c/2f/7b4d0b639a42636362827e611cfeba67975ec875ae036dd846d459d52652/numpy-1.19.1.zip (7.3MB)
Collecting streamlit==0.62.1 (from -r requirements.txt (line 3))
Downloading https://files.pythonhosted.org/packages/c0/2a/d201d29e99498d7cbf80ffb87a5ebcb1883649b8796dfdf371566f2a7710/streamlit-0.62.1-py2.py3-none-any.whl (7.1MB)
Collecting pillow (from -r requirements.txt (line 4))
Downloading https://files.pythonhosted.org/packages/3e/02/b09732ca4b14405ff159c470a612979acfc6e8645dc32f83ea0129709f7a/Pillow-7.2.0.tar.gz (39.1MB)
Collecting keras==2.3.1 (from -r requirements.txt (line 5))
Downloading https://files.pythonhosted.org/packages/ad/fd/6bfe87920d7f4fd475acd28500a42482b6b84479832bdc0fe9e589a60ceb/Keras-2.3.1-py2.py3-none-any.whl (377kB)
Collecting tensorflow==2.3.0 (from -r requirements.txt (line 6))
  Could not find a version that satisfies the requirement tensorflow==2.3.0 (from -r requirements.txt (line 6)) (from versions: )

No matching distribution found for tensorflow==2.3.0 (from -r requirements.txt (line 6))

You are using pip version 9.0.1,however version 20.2.2 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.

{"code":1,"message":"The command '/bin/sh -c pip install --no-cache-dir -r requirements.txt' returned a non-zero code: 1"}
The command '/bin/sh -c pip install --no-cache-dir -r requirements.txt' returned a non-zero code: 1
Build has failed!
----------------------
Deploy failed!```

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)

相关问答

依赖报错 idea导入项目后依赖报错,解决方案:https://blog....
错误1:代码生成器依赖和mybatis依赖冲突 启动项目时报错如下...
错误1:gradle项目控制台输出为乱码 # 解决方案:https://bl...
错误还原:在查询的过程中,传入的workType为0时,该条件不起...
报错如下,gcc版本太低 ^ server.c:5346:31: 错误:‘struct...