ImportError: Kaolin requires PyTorch >=1.6.0, <=2.0.0, but couldn't find the module installed.
tempaccountforissue opened this issue · 0 comments
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)
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.