Hi,
I’m getting following issue when I tried to deploy my app:
──────────────────────────────────────── pip ───────────────────────────────────────────
Using standard pip install.
Collecting attr==0.3.2 (from -r /mount/src/chssy/src/requirements.txt (line 1))
Downloading attr-0.3.2-py2.py3-none-any.whl.metadata (1.2 kB)
Collecting colorama==0.4.6 (from -r /mount/src/chssy/src/requirements.txt (line 2))
Downloading colorama-0.4.6-py2.py3-none-any.whl.metadata (17 kB)
Collecting ConfigParser==7.1.0 (from -r /mount/src/chssy/src/requirements.txt (line 3))
Downloading configparser-7.1.0-py3-none-any.whl.metadata (5.4 kB)
Collecting cryptography==43.0.3 (from -r /mount/src/chssy/src/requirements.txt (line 4))
Downloading cryptography-43.0.3-cp39-abi3-manylinux_2_28_x86_64.whl.metadata (5.4 kB)
Collecting docutils==0.21.2 (from -r /mount/src/chssy/src/requirements.txt (line 5))
Downloading docutils-0.21.2-py3-none-any.whl.metadata (2.8 kB)
Collecting filelock==3.16.1 (from -r /mount/src/chssy/src/requirements.txt (line 6))
Downloading filelock-3.16.1-py3-none-any.whl.metadata (2.9 kB)
Collecting HTMLParser==0.0.2 (from -r /mount/src/chssy/src/requirements.txt (line 7))
Downloading HTMLParser-0.0.2.tar.gz (6.0 kB)
Installing build dependencies: started
Installing build dependencies: finished with status ‘done’
Getting requirements to build wheel: started
Getting requirements to build wheel: finished with status ‘done’
Preparing metadata (pyproject.toml): started
Preparing metadata (pyproject.toml): finished with status ‘done’
Collecting ipython==8.12.3 (from -r /mount/src/chssy/src/requirements.txt (line 8))
Downloading ipython-8.12.3-py3-none-any.whl.metadata (5.7 kB)
Collecting ipywidgets==8.1.5 (from -r /mount/src/chssy/src/requirements.txt (line 9))
Downloading ipywidgets-8.1.5-py3-none-any.whl.metadata (2.3 kB)
Collecting jnius==1.1.0 (from -r /mount/src/chssy/src/requirements.txt (line 10))
Downloading jnius-1.1.0.tar.gz (28 kB)
Installing build dependencies: started
Installing build dependencies: finished with status ‘done’
Getting requirements to build wheel: started
Getting requirements to build wheel: finished with status ‘error’
error: subprocess-exited-with-error
× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> [25 lines of output]
You need Cython to compile Pyjnius.
Traceback (most recent call last):
File "/home/adminuser/venv/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in <module>
main()
File "/home/adminuser/venv/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 335, in main
json_out['return_val'] = hook(**hook_input['kwargs'])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/adminuser/venv/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 118, in get_requires_for_build_wheel
return hook(config_settings)
^^^^^^^^^^^^^^^^^^^^^
File "/tmp/pip-build-env-vk320exf/overlay/lib/python3.12/site-packages/setuptools/build_meta.py", line 332, in get_requires_for_build_wheel
return self._get_build_requires(config_settings, requirements=[])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/tmp/pip-build-env-vk320exf/overlay/lib/python3.12/site-packages/setuptools/build_meta.py", line 302, in _get_build_requires
self.run_setup()
File "/tmp/pip-build-env-vk320exf/overlay/lib/python3.12/site-packages/setuptools/build_meta.py", line 516, in run_setup
super().run_setup(setup_script=setup_script)
File "/tmp/pip-build-env-vk320exf/overlay/lib/python3.12/site-packages/setuptools/build_meta.py", line 318, in run_setup
exec(code, locals())
File "<string>", line 53, in <module>
ModuleNotFoundError: No module named 'Cython'
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error
× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.
[notice] A new release of pip is available: 24.0 → 24.2
[notice] To update, run: pip install --upgrade pip
Checking if Streamlit is installed
────────────────────────────────────────────────────────────────────────────────────────
[23:36:35] installer returned a non-zero exit code
[23:36:35] Error during processing dependencies! Please fix the error and push an update, or try restarting the app.
Any insights to resolve this issue would be very helpful.