-
Notifications
You must be signed in to change notification settings - Fork 240
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ModuleNotFoundError: No module named 'torch' #703
Comments
Thanks! I had the same problem. And it helped me! |
Same error. |
I experience the same issue. Tried on multiple machines, but installing autoawq works in Docker Nvidia container, specifically
And getting the following output:
|
Do you mind check if this PR 715 helps? |
I've installed and reinstalled and recreated venvs and installed different versions, even installed a lower version of python(3.10.1), but, no matter what, when attempting to install this thing, I get the following error.
I looked through all the issue's here and the only note I found on torch was the one regarding it's apparent dependency on torch 2.3.0. But, that didn't work, I even tried a much earlier version of torch (1.12.1), and 2.4.1, and initially started on the newest version (2.5.1).
Anyways, this thing don't seem to be able to find my torch install for whatever reason.
Edit: I think this issue might be more of a Python 3.13.1 thing.. Garuda(Linux) ninja'ed it in with my last chunk of updates, and it's screwing up everything on my PC.. Even after removing it as the global python. I'm getting 'module not found' errors while trying to run pip in a venv(different venv than the above), and apparently the PIL module isn't found either.. even after installing that multiple times.
Yea, nvm, this one's probably on me. Turns out my entire system got borked cuz some dkms directories didn't properly get updated/replaced during an Nvidia driver update (best I can tell, still gettin to the bottom of it). Will update if I have any more issues installing this after fixing the problem.
Edit: OK, got it solved. Not sure exactly what happened, but this command solved the issue.
pip install --upgrade pip setuptools wheel
The text was updated successfully, but these errors were encountered: