LeaguePyBot
LeaguePyBot copied to clipboard
unable to run the code
Hey Dorsk i hope your doing well ive tried to run the code but it always gives me a bug that looks something like this from psutil import Process, process_iter, NoSuchProcess, ZombieProcess ModuleNotFoundError: No module named 'psutil' im pretty new into the github scene and it took me over an hour to figure out that all of this code runs on git bash lmao anyways if you have any resources for content that could help me to edit this code or be able to run id appreciate it i tried to email you but i couldnt find your email so sorry to bother you cheers!
Hello! This repository is indeed lacking proper setup instructions.
If you're running a global install of Python you should be good with running first pip install -r requirements.txt
it will install psutil amongst other dependencies.
If you want a more scoped environment, you would want to use a virtual environment:
python -m venv venv
source venv/bin/activate
(linux, macos) or .\.venv\Scripts\Activate
(Windows but this doesn't run on Windows)
pip install -r requirements.txt
However, same warning as other issues, the current state of the repo implies having to debug many things. It is not in a plug and play state at all as it was an experiment more than a finished project and has not been updated in more than a year.
Good luck