Not able to use request and Beautiful soup, something is listed in Pyodide

Describe the problem/error/question

Attached a screenshot, i am trying to use request and Beautiful soup libs in python code.

What is the error message (if any)?

Error: ModuleNotFoundError: No module named ‘requests’ at PythonSandbox.getPrettyError (/usr/local/lib/node_modules/n8n/node_modules/n8n-nodes-

Please share your workflow

Share the output returned by the last node

Information on your n8n setup

  • n8n version:
    1.70.3 (Self Hosted)
  • Database (default: SQLite):
  • n8n EXECUTIONS_PROCESS setting (default: own, main): own
  • Running n8n via (Docker, npm, n8n cloud, desktop app): Docker
  • Operating system: Windows

Hey @Tapan_Kumar_Patro,

Welcome to the community :raised_hands:

I believe we use Pyodide 23.4 which doesn’t include requests as an option, I have created an internal request to update Pyodide in the future.

Ohh i see. So what can to do proceed ? Any suggestion?

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