Describe the problem/error/question
I’m trying to run a python script in a virtual environment using the Execute Command node but it gives error. I tried testing the command in putty and it works but it doesn’t work within n8n. I can’t activate the virtual environment.
What is the error message (if any)?
Command failed: source /var/www/comic.adoreanime.com/htdocs/project/bin/activate /bin/sh: 1: source: not found
Please share your workflow
Share the output returned by the last node
Information on your n8n setup
- n8n version: 2.0.3
- Database (default: SQLite): default
- n8n EXECUTIONS_PROCESS setting (default: own, main): default
- Running n8n via (Docker, npm, n8n cloud, desktop app): npm
- Operating system: Ubuntu 24.04 LTS