Hi ,
I am getting below installation error for TensorFlow while deplyoing Streamlit app in DigitalOcean(CapRover) , below is the error log , can any one please help me on this !!
---> Running in f1bd1382e6fb
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!
Error: {"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