Hi,
An app whose repository includes packages.txt
fails to deploy on Sharing.
I think this error occurs probabilistically; I was just once successful to deploy the app, but failed many times.
The followings are my app resources I was trying to deploy.
Repo: GitHub - whitphx/style-transfer-web-app
Sharing: https://share.streamlit.io/whitphx/style-transfer-web-app/main/app.py
Logs:
[manager] Starting up for owner: 'whitphx', repository: 'style-transfer-web-app', branch: 'main', main module: 'app.py'
[manager] Cloning repository ...
[manager] Cloning into 'style-transfer-web-app'...
Checking out files: 100% (35/35), done.
[manager] Cloned repository!
[manager] Processing dependencies ...
Reading package lists...[2021-04-26 01:33:44.202455]
Building dependency tree...[2021-04-26 01:33:44.629397]
Reading state information...[2021-04-26 01:33:44.629915]
E: Unable to locate package freeglut3-dev
Collecting imutils==0.5.3
Downloading imutils-0.5.3.tar.gz (17 kB)
(...)
Attempting uninstall: streamlit
Found existing installation: streamlit 0.80.0
Uninstalling streamlit-0.80.0:
Successfully uninstalled streamlit-0.80.0
Successfully installed MarkupSafe-1.1.1 Pillow-8.1.0 Send2Trash-1.5.0 aioice-0.7.5 aiortc-1.2.0 altair-4.1.0 argon2-cffi-20.1.0 astor-0.8.1 async-generator-1.10 attrs-20.3.0 av-8.0.3 backcall-0.2.0 base58-2.1.0 bleach-3.3.0 blinker-1.4 cachetools-4.2.1 certifi-2020.12.5 cffi-1.14.5 chardet-4.0.0 click-7.1.2 crc32c-2.2 cryptography-3.4.7 decorator-5.0.7 defusedxml-0.7.1 dnspython-2.1.0 entrypoints-0.3 gitdb-4.0.7 gitpython-3.1.14 idna-2.10 imutils-0.5.3 ipykernel-5.5.3 ipython-7.22.0 ipython-genutils-0.2.0 ipywidgets-7.6.3 jedi-0.18.0 jinja2-2.11.3 jsonschema-3.2.0 jupyter-client-6.1.12 jupyter-core-4.7.1 jupyterlab-pygments-0.1.2 jupyterlab-widgets-1.0.0 mistune-0.8.4 nbclient-0.5.3 nbconvert-6.0.7 nbformat-5.1.3 nest-asyncio-1.5.1 netifaces-0.10.9 notebook-6.3.0 numpy-1.17.4 opencv-python-headless-4.5.1.48 packaging-20.9 pandas-1.2.4 pandocfilters-1.4.3 parso-0.8.2 pexpect-4.8.0 pickleshare-0.7.5 prometheus-client-0.10.1 prompt-toolkit-3.0.18 protobuf-3.15.8 ptyprocess-0.7.0 pyarrow-3.0.0 pycparser-2.20 pydeck-0.6.2 pyee-8.1.0 pygments-2.8.1 pylibsrtp-0.6.8 pyparsing-2.4.7 pyrsistent-0.17.3 python-dateutil-2.8.1 pytz-2021.1 pyzmq-22.0.3 requests-2.25.1 setuptools-56.0.0 six-1.15.0 smmap-4.0.0 streamlit-0.80.0 streamlit-webrtc-0.11.0 terminado-0.9.4 testpath-0.4.4 toml-0.10.2 toolz-0.11.1 tornado-6.1 traitlets-5.0.5 tzlocal-2.1 urllib3-1.26.4 validators-0.18.2 watchdog-2.0.3 wcwidth-0.2.5 webencodings-0.5.1 widgetsnbextension-3.5.1
WARNING: You are using pip version 21.0.1; however, version 21.1 is available.
You should consider upgrading via the '/home/appuser/venv/bin/python -m pip install --upgrade pip' command.
[manager] Python dependencies were installed from /app/style-transfer-web-app/requirements.txt using pip.
[manager] installer returned a non-zero exit code
[manager] Error during processing dependencies! Please fix the error and push an update, or try restarting the app.