How to run Python code that needs PIP install modules?

Greetings,

I use the following node to run basic Python scripts:

My Python code logic needs to pip install a few Python modules.

How to run Python code that needs PIP install modules?

Thank you,

It looks like your topic is missing some important information. Could you provide the following if applicable.

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

Thank you for the reply.

I am designing a solution and I can deploy n8n in any form and shape or version that address my requirement: pip install

At the same time, I really prefer this docker approach here:

Should I infer from your post that support for installing Python modules pip install very much depend on my deployment configuration?

Thank you,

Hi @python-trader i am in the same situation just wondering did you figure it out? i am selfhosting N8n using the community edition is it possible to run Python code when Pip install is required?

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