Jump to content

zaymus

Members
  • Posts

    3
  • Joined

  • Last visited

Posts posted by zaymus

  1. I have a python script that is being ran by the user script plug in however i'm using a package that is not native to python so I was wondering how I would install it on my server so that it can be used by my script. I tried pip installing it through the command line but got some errors so im wondering if there is another way. 

     

    I have the error message in this file if needed. install error message.txt

     

     

  2. I'm trying to host a discord bot I made in python using the discordpy library, and I wanted to have the script ran every hour. however I'm not to experienced with bash so i'm a little stuck on running the script.

     

    this is the code I tried and I have installed the nerdpack plugin and enabled python3 in the settings. I have also rebooted my server after installing/enabling

     #!/bin/bash
    cd /mnt/user/scripts/Predicting_Alpha_Bot
    python bot.py

     

    When I run the script using the user script plugin it shows an error saying unknown command 'python'. I'm not sure if I have to specify the python path or anything so any help would be greatly appreciated!

×
×
  • Create New...