Is there any way to add external libraries in n8n Cloud?

Describe the problem/error/question

Hi, I’m currently using n8n in a paid plan with Cloud hosting for my application. I need to compute several matrices multiplications from data read from CSV files, so I was hoping to rely on Python’s numpy library to do this, for its performance and ease in these tasks.

The problem I have is that I constantly find information about how to add external libraries in self-hosted n8n instances but nothing about the Cloud ones, I know that specifically numpy was automatically possible with the old Pyodide Python Code node, so I was wondering if right now there’s any way to install numpy (or any other external library) in a Cloud n8n instance.

Thanks!

Information on your n8n setup

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

Hey @r-moret !

Call an external service (your own API or a separate Python service with numpy) from n8n via HTTP Request, then return the results… that is the only thing that I do to sync some data.

“Cloud version imports in the new native Python runner are explicitly disabled for security purposes.”

Cheers!

1 Like