zeyad-mansour / lunar

a neural network aim assist that uses real-time object detection accelerated with CUDA on Nvidia GPUs
https://discord.gg/5n6vS95jWp
GNU General Public License v3.0
412 stars 130 forks source link

ModuleNotFoundError: No module named 'psutil' #277

Open NokoxSlays opened 1 year ago

NokoxSlays commented 1 year ago

When I already runned setup it installed etc. than I run it it says downloading and this happens: Downloading: "https://github.com/ultralytics/yolov5/archive/master.zip" to C:\Users\admin/.cache\torch\hub\master.zip Traceback (most recent call last): File "C:\Users\admin\Downloads\lunar-main\lunar-main\lunar.py", line 74, in main() File "C:\Users\admin\Downloads\lunar-main\lunar-main\lunar.py", line 21, in main lunar = Aimbot(collect_data = "collect_data" in sys.argv) File "C:\Users\admin\Downloads\lunar-main\lunar-main\lib\aimbot.py", line 65, in init self.model = torch.hub.load('ultralytics/yolov5', 'custom', path='lib/best.pt', force_reload = True) File "C:\Users\admin\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\hub.py", line 404, in load model = _load_local(repo_or_dir, model, *args, *kwargs) File "C:\Users\admin\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\hub.py", line 433, in _load_local model = entry(args, **kwargs) File "C:\Users\admin/.cache\torch\hub\ultralytics_yolov5_master\hubconf.py", line 83, in custom return _create(path, autoshape=autoshape, verbose=_verbose, device=device) File "C:\Users\admin/.cache\torch\hub\ultralytics_yolov5_master\hubconf.py", line 33, in _create from models.common import AutoShape, DetectMultiBackend File "C:\Users\admin/.cache\torch\hub\ultralytics_yolov5_master\models\common.py", line 28, in from utils.dataloaders import exif_transpose, letterbox File "C:\Users\admin/.cache\torch\hub\ultralytics_yolov5_master\utils\dataloaders.py", line 22, in import psutil ModuleNotFoundError: No module named 'psutil'

If you a fix I'll be grateful

sweaty21msl commented 1 year ago

hey i have the same problem luckily i have figured it out do "pip install psutil"