My Python Shiny project makes a request to an API, but when I tried to publish it on Posit Connect Cloud, I get:
ModuleNotFoundError: No module named 'requests'
My requirements.txt has requests==2.32.4
I have tried deploying with python 3.11 and 3.12.
The code also successfully loads the requests
library locally, which makes me think that maybe it is not available on Posit Connect Cloud. Does anybody know?
For reference, here is my repo on GIthub: GitHub - canadian-municipal-barometer/llm-prototyping-webapp: A web app to interactively engineer LLM prompts.