In my requirements file, I specify a GitHub repo, which, within its own requirements file has:
requests>=2.20.0
...as well as the following in its setup.py file:
install_requires=["requests>=2.20.0"]
Yet, when I try to deploy on pythonanywhere, I get a ModuleNotFoundError: No module named 'requests'
I'm not quite sure what is going on and why pythonanywhere cannot find requests. (?) This was working before, and today when I wanted to deploy on python anywhere, it resulted in this error.
The specific code for the error is as follows:
Preparing metadata (setup.py) ... error error: subprocess-exited-with-error
× python setup.py egg_info did not run successfully. │ exit code: 1 ╰─> [10 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-req-build-jfg4kkzm/setup.py", line 4, in <module> from pymed.version import version File "/tmp/pip-req-build-jfg4kkzm/<my_file>/init.py", line 1, in <module> from .api import PubMed File "/tmp/pip-req-build-jfg4kkzm/<my_file>/api.py", line 2, in <module> import requests ModuleNotFoundError: No module named 'requests' [end of output]
Thanks for the help!