For anyone who is facing similar issue. That is
SyntaxError: unterminated string literal (detected at line 29)
File "/usr/local/lib/node_modules/pm2/lib/ProcessContainerForkBun.js", line 29
// Change some values to make node think that the user's application
The key point here is the commented line which is actually a message.
You have to try modifying the parameters in my case it was something like this
Set interpreter as "none"
and script to "/absolute/path/venv/bin/python main.py"
It might be different parameter for you tho. (If anyone has more in detailed answer please feel free to edit my answer)