Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

[PM2][ERROR] Interpreter python is NOT AVAILABLE in PATH. (type 'which python' to double check.)

Tags:

python

discord

When I try to run my discord python bot:

qbasty@cody-discord-bot:~/matrixcraft-cody$ pm2 start Cody.py --interpreter=python

[PM2][ERROR] Interpreter python is NOT AVAILABLE in PATH. (type 'which python' to double check.)

I get that error. Ubuntu 20 on DigitalOcean.

like image 889
qbasty Avatar asked May 10 '26 18:05

qbasty


1 Answers

Here is what worked for me :

pm2 start bot.py --name bot --interpreter python3

like image 76
Toma Bourov Avatar answered May 12 '26 09:05

Toma Bourov



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!