Skip to content
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' #1

Open
rakomar opened this issue Dec 7, 2023 · 0 comments
Open

ModuleNotFoundError: No module named 'torch' #1

rakomar opened this issue Dec 7, 2023 · 0 comments

Comments

@rakomar
Copy link

rakomar commented Dec 7, 2023

Hey there, I tried installing your package, but I get an error including the following:

8, in get_requires_for_build_wheel
return hook(config_settings)
File "C:\Users\Vincent\AppData\Local\Temp\pip-build-env-xi8lzs5x\overlay\Lib\site-packages\setuptools\build_meta.py", line 325, in get_requires_for_build_wheel
return self._get_build_requires(config_settings, requirements=['wheel'])
File "C:\Users\Vincent\AppData\Local\Temp\pip-build-env-xi8lzs5x\overlay\Lib\site-packages\setuptools\build_meta.py", line 295, in _get_build_requires
self.run_setup()
File "C:\Users\Vincent\AppData\Local\Temp\pip-build-env-xi8lzs5x\overlay\Lib\site-packages\setuptools\build_meta.py", line 480, in run_setup
super(_BuildMetaLegacyBackend, self).run_setup(setup_script=setup_script)
File "C:\Users\Vincent\AppData\Local\Temp\pip-build-env-xi8lzs5x\overlay\Lib\site-packages\setuptools\build_meta.py", line 311, in run_setup
exec(code, locals())
File "", line 3, in
ModuleNotFoundError: No module named 'torch'
[end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error

× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip.

However, I have torch 2.1.1+cu118 installed and CUDA 11.8 installed (I have multiple CUDA versions installed but CUDA_HOME and CUDA_PATH are the 11.8 installation). Is this version not supported yet or something?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant