Are you able to run the self-hosted docker-compose-local.yaml example provided here without error (whether you specify the debian or alpine image - it really doesn’t matter).
Why? After experiencing a variety of EACCESS-related errors with the various supplied docker images (including one I posted yesterdayhere), I decided to simply try the above without modification.
Sadly, I still get EACCESS-related errors coming from inside the container. And, again, I intentionally didn’t modify anything (except trying debian and then alpine image variants).
This time, one errors was:
user@fedora$ podman-compose -f ./docker-compose-unmodified.yaml up
54602a1ba94b64d599555999a63c362502898e9d555bd51c3a9be4b2091dd704
673f3f1ffcc7e7e2ba5e4edcd704c852a764c06840735137ec66febb2696d29b
[n8n-python] | UserSettings were generated and saved to: /home/node/.n8n/config
[n8n-python] | Error: EACCES: permission denied, open '/home/node/.n8n/config'
Are you able to run the provided example above, without modification, successfully?
To me it seems like something is not quite correct with the provided python enhancing images (i.e., debian and alpine).
Hey @nmvega , why do you want to use that (unofficial) image? I believe it was created prior to native support of Python in Code nodes. Python scripts are now supported natively, Using the Code node | n8n Docs.
That’s a great question. Because I’m a Noob and just figuring things out. LoL. But that might explain the Docker image errors (i.e., code rot).
But seriously, I read that Python libraries are confined to what is available here (pyodide).
That library coverage does seems pretty comprehensive, though. There are many. I was just trying to get ahead in case one wasn’t available (say, PyTorch - though I probably won’t need that). But just anticipating.
Another reason is the problem I’m having here with the official image, which I posted here (yesterday). I had hoped another image might skirt that issue, but it only led to this new one.
I’ll just continue working with the officially released one, as you suggest.