# Python Support and Release Versions

**URL:** <https://community.n8n.io/t/python-support-and-release-versions/26291>\
**Category:** Announcements\
**Created:** [17 Mayo, 2023 11:48 UTC](https://community.n8n.io/t/python-support-and-release-versions/26291 "2023-05-17T11:48:43Z")\
**Posts on this page:** 20\
**Page:** 2

<div class="post-metadata">

**Author:** ![Valerian\_Lebert](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/valerian_lebert/32/13683_2.png) [@Valerian\_Lebert](https://community.n8n.io/u/Valerian_Lebert)\
**Post date:** [23 Junio, 2023 19:12 UTC](https://community.n8n.io/t/python-support-and-release-versions/26291/21 "2023-06-23T19:12:33Z")

</div>

Hi

I did follow these steps

> [@Run n8n as a Service with PM2](http://community.n8n.io/t/run-n8n-as-a-service-with-pm2/1199):
>
> Introduction Web based applications are wonderful tools that have a very low barrier to entry and an ease of use because, who doesn’t know how to use a web browser? And NodeJS does a wonderful job at creating these apps. But, what if I want to run my NodeJS apps automatically as a service? Most of the time, NodeJS apps ask us to enter in start commands from the command line to get things going. What happens if I exit my terminal/SSH session? Or my server reboots? This is where [PM2](https://pm2.keymetrics.io/) comes to th…

in short (on ubuntu server)

`sudo npm install pm2@latest -g`

(from what i remember, I couldn’t install without sudo, but I am a python guy, I am totally lost with npm)

`pm2 start n8n` (no sudo)

My pyodide is in `/usr/lib/node_modules/n8n/node_modules/pyodide/`

(not /usr/ **local** /lib/node\_modules/n8n/node\_modules/pyodide/)

 ![digi-studio 2023-06-23 at 21.10.04@2x](https://europe1.discourse-cdn.com/n8n/original/3X/3/9/39ee5ad1db194f41451329b9ee0786909deeefc8.jpeg)

Is something messed up in my config ?

@jan when you say “access” you mean read permission ?

In my case, python is working, only imports seems broken

---

<div class="post-metadata">

**Author:** ![jan](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/jan/32/9_2.png) [@jan](https://community.n8n.io/u/jan)\
**Post date:** [23 Junio, 2023 19:31 UTC](https://community.n8n.io/t/python-support-and-release-versions/26291/22 "2023-06-23T19:31:40Z")

</div>

No, all fine. I do mean write access as it is using that folder for some reason to cache the modules.

---

<div class="post-metadata">

**Author:** ![RedPacketSec](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/redpacketsec/32/17523_2.png) [@RedPacketSec](https://community.n8n.io/u/RedPacketSec)\
**Post date:** [27 Junio, 2023 09:36 UTC](https://community.n8n.io/t/python-support-and-release-versions/26291/23 "2023-06-27T09:36:59Z")

</div>

any thoughts on this docker modules support?

---

<div class="post-metadata">

**Author:** ![jan](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/jan/32/9_2.png) [@jan](https://community.n8n.io/u/jan)\
**Post date:** [27 Junio, 2023 10:06 UTC](https://community.n8n.io/t/python-support-and-release-versions/26291/24 "2023-06-27T10:06:37Z")

</div>

It actually turns out that pip installing is not necessary at all. It will always download them automatically and cache. So will then also work with Docker. We are currently in the process of making that work correctly.

---

<div class="post-metadata">

**Author:** ![RedPacketSec](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/redpacketsec/32/17523_2.png) [@RedPacketSec](https://community.n8n.io/u/RedPacketSec)\
**Post date:** [27 Junio, 2023 10:42 UTC](https://community.n8n.io/t/python-support-and-release-versions/26291/25 "2023-06-27T10:42:07Z")

</div>

ah amazing! Looking forward to testing that!

---

<div class="post-metadata">

**Author:** ![Valerian\_Lebert](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/valerian_lebert/32/13683_2.png) [@Valerian\_Lebert](https://community.n8n.io/u/Valerian_Lebert)\
**Post date:** [4 Julio, 2023 13:56 UTC](https://community.n8n.io/t/python-support-and-release-versions/26291/26 "2023-07-04T13:56:48Z")

</div>

I missed your previous answers

So in my case the issue could be the write access missing on folder `/usr/lib/node_modules/n8n/node_modules/pyodide/ ` for the user running n8n ?

I am actually training my JS skill instead right now ^^

---

<div class="post-metadata">

**Author:** ![Jon](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/jon/32/40174_2.png) [@Jon](https://community.n8n.io/u/Jon)\
**Post date:** [4 Julio, 2023 14:06 UTC](https://community.n8n.io/t/python-support-and-release-versions/26291/27 "2023-07-04T14:06:24Z")

</div>

Hey @Valerian_Lebert,

You got it, But the good news is we have a fix for this in place that should make it into the 1.0 release.

---

<div class="post-metadata">

**Author:** ![stuart](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/stuart/32/12021_2.png) [@stuart](https://community.n8n.io/u/stuart)\
**Post date:** [12 Julio, 2023 01:48 UTC](https://community.n8n.io/t/python-support-and-release-versions/26291/28 "2023-07-12T01:48:09Z")

</div>

Hi, super interested in this also and running into the issue with adding modules, should these be added auto in the 1.0 release as I tried it and getting the same error shown by Valerian above. I’m running N8n via Cloudron if that info is anything valuable.

---

<div class="post-metadata">

**Author:** ![jan](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/jan/32/9_2.png) [@jan](https://community.n8n.io/u/jan)\
**Post date:** [12 Julio, 2023 07:10 UTC](https://community.n8n.io/t/python-support-and-release-versions/26291/29 "2023-07-12T07:10:37Z")

</div>

Got fixed with [this PR](https://github.com/n8n-io/n8n/pull/6568) 5 days ago, but it did not get released with a version yet. You can however get it via the experimental nightly build `docker.n8n.io/n8nio/n8n:nightly`

---

<div class="post-metadata">

**Author:** ![jan](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/jan/32/9_2.png) [@jan](https://community.n8n.io/u/jan)\
**Post date:** [13 Julio, 2023 08:31 UTC](https://community.n8n.io/t/python-support-and-release-versions/26291/30 "2023-07-13T08:31:09Z")

</div>

New version [`n8n@1.0.2`](https://github.com/n8n-io/n8n/releases/tag/n8n%401.0.2) got released which includes the [GitHub PR 6568](https://github.com/n8n-io/n8n/pull/6568).

---

<div class="post-metadata">

**Author:** ![gerson](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/gerson/32/27407_2.png) [@gerson](https://community.n8n.io/u/gerson)\
**Post date:** [15 Julio, 2023 18:22 UTC](https://community.n8n.io/t/python-support-and-release-versions/26291/31 "2023-07-15T18:22:26Z")

</div>

Hello,

Is there a roadmap where we can know when version 1.0 will be as the latest tag?

Thank you.

---

<div class="post-metadata">

**Author:** ![jan](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/jan/32/9_2.png) [@jan](https://community.n8n.io/u/jan)\
**Post date:** [15 Julio, 2023 18:23 UTC](https://community.n8n.io/t/python-support-and-release-versions/26291/32 "2023-07-15T18:23:26Z")

</div>

Welcome to the community @gerson!

That plan is currently the 24th of July.

---

<div class="post-metadata">

**Author:** ![jespinoza](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/jespinoza/32/27268_2.png) [@jespinoza](https://community.n8n.io/u/jespinoza)\
**Post date:** [26 Julio, 2023 14:23 UTC](https://community.n8n.io/t/python-support-and-release-versions/26291/33 "2023-07-26T14:23:28Z")

</div>

Hey there, with no intention to change the topic of the conversation, I was wondering. I recently upgraded to 1.0.5 to check on the python feature. If I go ahead and select Python as an language and leave or add new code I never get to see the param to add modules that was described above. Should I be doing something different?

 ![image](https://europe1.discourse-cdn.com/n8n/original/3X/c/d/cdf47e31ebb6e011091d6d8ad49b389342c5fadb.png)

Regards,  
JC

---

<div class="post-metadata">

**Author:** ![jan](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/jan/32/9_2.png) [@jan](https://community.n8n.io/u/jan)\
**Post date:** [26 Julio, 2023 14:37 UTC](https://community.n8n.io/t/python-support-and-release-versions/26291/34 "2023-07-26T14:37:01Z")

</div>

@jespinoza Ah, yes, that is not necessary anymore in the production version (which you are using now). You can simply import them (as long as they are [supported](https://pyodide.org/en/stable/usage/packages-in-pyodide.html#packages-in-pyodide)) and they will be downloaded automatically.

---

<div class="post-metadata">

**Author:** ![German\_Bravo](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/german_bravo/32/17889_2.png) [@German\_Bravo](https://community.n8n.io/u/German_Bravo)\
**Post date:** [30 Julio, 2023 16:41 UTC](https://community.n8n.io/t/python-support-and-release-versions/26291/35 "2023-07-30T16:41:13Z")

</div>

Hi @jan, thanks for the work, i have one question, as stated in the docs of pydiode, it is possible to import new libraries, even install packages from pip: [Loading packages — Version 0.23.4](https://pyodide.org/en/stable/usage/loading-packages.html#loading-packages)

Is there any hope that this will be available in future versions? I’m now using an alternate n8n source where it has python available as a new node “python node”, and as i make available libraries using “pip3 install …” in the dockerfile i can use custom community python packages from pip, as for example pypsrp (a module to interact with winrm protocol). Because of this i cant migrate to the available code node with python support (v1.0) as it only support the preinstalled pydiode libraries and cant seem to import new ones.

Thanks a lot and great work!

---

<div class="post-metadata">

**Author:** ![jan](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/jan/32/9_2.png) [@jan](https://community.n8n.io/u/jan)\
**Post date:** [30 Julio, 2023 20:49 UTC](https://community.n8n.io/t/python-support-and-release-versions/26291/36 "2023-07-30T20:49:48Z")

</div>

Honestly wanted to check that out properly for a while now but never found time. That is why it is currently not officially supported also would we then still have to Witte docs for it. Theoretically should it however work. So you can give it a try.

---

<div class="post-metadata">

**Author:** ![RedPacketSec](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/redpacketsec/32/17523_2.png) [@RedPacketSec](https://community.n8n.io/u/RedPacketSec)\
**Post date:** [31 Julio, 2023 08:17 UTC](https://community.n8n.io/t/python-support-and-release-versions/26291/37 "2023-07-31T08:17:50Z")

</div>

yeah id like to be able to add new modules to python currently the pydiode doesnt let me do this.

---

<div class="post-metadata">

**Author:** ![German\_Bravo](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/german_bravo/32/17889_2.png) [@German\_Bravo](https://community.n8n.io/u/German_Bravo)\
**Post date:** [31 Julio, 2023 13:32 UTC](https://community.n8n.io/t/python-support-and-release-versions/26291/38 "2023-07-31T13:32:22Z")

</div>

Hi @jan , thanks for your response, but how theoretically should we import pydiode packages in n8n?  
Running a nodejs node previous to the code-python node?  
Could it be done generally available for all code-python node instances in n8n, like in a dockerfile deployment?

Thanks a lot

---

<div class="post-metadata">

**Author:** ![German\_Bravo](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/german_bravo/32/17889_2.png) [@German\_Bravo](https://community.n8n.io/u/German_Bravo)\
**Post date:** [28 Agosto, 2023 13:38 UTC](https://community.n8n.io/t/python-support-and-release-versions/26291/39 "2023-08-28T13:38:47Z")

</div>

Hi any update on this please?

Thanks a lot

---

<div class="post-metadata">

**Author:** ![German\_Bravo](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/german_bravo/32/17889_2.png) [@German\_Bravo](https://community.n8n.io/u/German_Bravo)\
**Post date:** [18 Octubre, 2023 03:25 UTC](https://community.n8n.io/t/python-support-and-release-versions/26291/40 "2023-10-18T03:25:07Z")

</div>

Hi, is there any work in progress related to allow using additional pip packages?  
Thanks a lot

[Página anterior](https://community.n8n.io/t/python-support-and-release-versions/26291.md?page=1)

[Página siguiente](https://community.n8n.io/t/python-support-and-release-versions/26291.md?page=3)
