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

ImportError: Kaolin requires PyTorch >=1.6.0, <=2.0.0, but couldn't find the module installed. #729

Open
tempaccountforissue opened this issue Jun 14, 2023 · 0 comments

Comments

@tempaccountforissue
Copy link

tempaccountforissue commented Jun 14, 2023

I have PyTorch 2.0.0 installed, but I keep getting this error saying it can't find the module. (I'm using Python 3.9.16 btw)

Untitled (4)

Installing build dependencies ... done
Getting requirements to build wheel ... error
error: subprocess-exited-with-error

× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> [17 lines of output]
Traceback (most recent call last):
File "C:\Users\Name\anaconda3\envs\ObjectSegmentSelection\lib\site-packages\pip_vendor\pyproject_hooks_in_process_in_process.py", line 353, in
main()
File "C:\Users\Name\anaconda3\envs\ObjectSegmentSelection\lib\site-packages\pip_vendor\pyproject_hooks_in_process_in_process.py", line 335, in main
json_out['return_val'] = hook(**hook_input['kwargs'])
File "C:\Users\Name\anaconda3\envs\ObjectSegmentSelection\lib\site-packages\pip_vendor\pyproject_hooks_in_process_in_process.py", line 118, in get_requires_for_build_wheel
return hook(config_settings)
File "C:\Users\Name\AppData\Local\Temp\pip-build-env-u2mpkxf5\overlay\Lib\site-packages\setuptools\build_meta.py", line 341, in get_requires_for_build_wheel
return self._get_build_requires(config_settings, requirements=['wheel'])
File "C:\Users\Name\AppData\Local\Temp\pip-build-env-u2mpkxf5\overlay\Lib\site-packages\setuptools\build_meta.py", line 323, in _get_build_requires
self.run_setup()
File "C:\Users\Name\AppData\Local\Temp\pip-build-env-u2mpkxf5\overlay\Lib\site-packages\setuptools\build_meta.py", line 487, in run_setup
super(_BuildMetaLegacyBackend,
File "C:\Users\Name\AppData\Local\Temp\pip-build-env-u2mpkxf5\overlay\Lib\site-packages\setuptools\build_meta.py", line 338, in run_setup
exec(code, locals())
File "", line 25, in
ImportError: Kaolin requires PyTorch >=1.6.0, <=2.0.0, but couldn't find the module installed.
[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.

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