Error while try to deploy my app on community cloud

Collecting requests
  Downloading requests-2.31.0-py3-none-any.whl (62 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 62.6/62.6 KB 5.2 MB/s eta 0:00:00[2023-09-14 00:14:32.052572] 
Collecting hackernews-python
  Downloading hackernews-python-0.3.2.tar.gz (3.3 kB)
  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
  ╰─> [8 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-9mrgol3b/hackernews-python_0062735bbc704ca1bf5538cb733f9781/setup.py", line 5, in <module>
          import hackernews
        File "/tmp/pip-install-9mrgol3b/hackernews-python_0062735bbc704ca1bf5538cb733f9781/hackernews.py", line 6, in <module>
          import requests
      ModuleNotFoundError: No module named 'requests'
      [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.
WARNING: You are using pip version 22.0.3; however, version 23.2.1 is available.
You should consider upgrading via the '/home/appuser/venv/bin/python -m pip install --upgrade pip' command.
Checking if Streamlit is installed

The package hackernews-python hasn’t seen any update since 2014, i would choose another one on pypi, maybe try fetch-hackernews

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.