DeadBread76 / Raid-Toolbox

Raid ToolBox (RTB) is a big toolkit of Spamming/Raiding/Token management tools for discord.
449 stars 244 forks source link

Module error: No module named 'psutil' #134

Open carlos837 opened 3 years ago

carlos837 commented 3 years ago

Module error: No module named 'psutil'

alivx commented 3 years ago

First, you have to install requirements file, by this command pip install -r requirements.txt or simply: pip install psutil

mdnghtO1 commented 3 years ago

where do i need to type the command to? when i open RTB in asks me to download the files and i type Y and after some time it downloads everything and just asks the same thing again, when i type the command and press enter it just closes and once i open it it just asks the same thing again.

alivx commented 3 years ago

where do i need to type the command to? when i open RTB in asks me to download the files and i type Y and after some time it downloads everything and just asks the same thing again, when i type the command and press enter it just closes and once i open it it just asks the same thing again.

Share logs or screenshot please

mdnghtO1 commented 3 years ago

Window will be a boring gray. Try adding call to change_look_and_feel('Dark Blue 3') before your layout definition If you seriously want this gray window and no more nagging, add change_look_and_feel('DefaultNoMoreNagging') Module error: No module named 'psutil' Would you like Raid ToolBox to try and install it for you?(Y/N)

this is what i get and one i type Y it just resets to tihis again

mdnghtO1 commented 3 years ago

Ok so a quick update: i reinstalled python and got the program working but now there is a new issue for some reason nothing works i got 9 tokens and i checked them with the checker v2 and all of them are working. Any advice?

alivx commented 3 years ago

Here is two solutions:

  1. Use a docker container. Dockerfile:
    FROM python:3.6.8-stretch
    COPY . /app
    WORKDIR /app
    RUN pip install -r requirements.txt
    ENTRYPOINT [ "python","RTB.py" ]

    Under the project dir run the below: docker build . -t raidtoolbox:latest

Then run the container via the below command: docker run -ti --rm -e DISPLAY=$DISPLAY -v /tmp/.X11-unix:/tmp/.X11-unix:rw raidtoolbox:latest


Option2: (create an isolated virtual python environment)

pip install virtualenv
virtualenv venv
. venv/bin/activate
pip install -r requirements.txt
Bingus44 commented 2 years ago

hello

Bingus44 commented 2 years ago

i need help with this problem im getting an error saying "Window will be a boring gray. Try adding call to change_look_and_feel('Dark Blue 3') before your layout definition If you seriously want this gray window and no more nagging, add change_look_and_feel('DefaultNoMoreNagging') Module error: No module named 'psutil' Would you like Raid ToolBox to try and install it for you?(Y/N)"

Bingus44 commented 2 years ago

but when i do "Y" it just just reinstalls everything but it still doesnt work :/