Greetings,
I am facing an issue while deployming an app in streamlit.
below is the requirement file:
pandas>=2.1.3
streamlit>=1.30.0
schedule>=1.2.1
scheduler>=0.8.5
pydeck>=0.8
numpy>=1.26.2
plotly
multiprocessing
sqlite3
pytz
threading
the error appears to be happening while installing multiprocessing. I have restarted the app, and also tried older version of multiprocessing without success. any assistance is appreciated.
below is the error message:
Collecting multiprocessing (from -r /mount/src/downloaddata/requirements.txt (line 8))
Downloading multiprocessing-2.6.2.1.tar.gz (108 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 108.0/108.0 kB 57.6 MB/s eta 0:00:00[2024-05-03 05:07:26.966329]
Preparing metadata (setup.py): started
Preparing metadata (setup.py): finished with status 'error'
error: subprocess-exited-with-error
× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [7 lines of output]
Traceback (most recent call last):
File "<string>", line 2, in <module>
File "<pip-setuptools-caller>", line 34, in <module>
File "/tmp/pip-install-daeeis52/multiprocessing_faf44378aa6c4e4a976b51f2af0b61e4/setup.py", line 94
print 'Macros:'
^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
Checking if Streamlit is installed
────────────────────────────────────────────────────────────────────────────────────────
[05:07:28] ❗️ installer returned a non-zero exit code
[05:07:28] ❗️ Error during processing dependencies! Please fix the error and push an update, or try restarting the app.
[05:09:01] ❗️ Streamlit server consistently failed status checks
[05:09:01] ❗️ Please fix the errors, push an update to the git repo, or reboot the app.