Hi, thanks for your work.
I followed your installation procedure, including the optional step to compile the custom operations, inside a virtual environment.
Unfortunately, I get several errors, among which the absence torch, even if it is correctly installed and spotted by pip show torch.
I am using the suggested command:
cd ./RDD/models/ops
pip install -e .
Do you have any suggestions to properly compile the custom operations?
Here below you can find a full log of the errors:
Obtaining file:///home/mbechini/rdd/RDD/models/ops
Installing build dependencies ... done
Checking if build backend supports build_editable ... done
Getting requirements to build editable ... error
error: subprocess-exited-with-error
× Getting requirements to build editable did not run successfully.
│ exit code: 1
╰─> [19 lines of output]
Traceback (most recent call last):
File "/home/mbechini/rdd/.venv/lib/python3.10/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 389, in <module>
main()
File "/home/mbechini/rdd/.venv/lib/python3.10/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 373, in main
json_out["return_val"] = hook(**hook_input["kwargs"])
File "/home/mbechini/rdd/.venv/lib/python3.10/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 157, in get_requires_for_build_editable
return hook(config_settings)
File "/tmp/pip-build-env-9rrrr_lp/overlay/lib/python3.10/site-packages/setuptools/build_meta.py", line 473, in get_requires_for_build_editable
return self.get_requires_for_build_wheel(config_settings)
File "/tmp/pip-build-env-9rrrr_lp/overlay/lib/python3.10/site-packages/setuptools/build_meta.py", line 331, in get_requires_for_build_wheel
return self._get_build_requires(config_settings, requirements=[])
File "/tmp/pip-build-env-9rrrr_lp/overlay/lib/python3.10/site-packages/setuptools/build_meta.py", line 301, in _get_build_requires
self.run_setup()
File "/tmp/pip-build-env-9rrrr_lp/overlay/lib/python3.10/site-packages/setuptools/build_meta.py", line 512, in run_setup
super().run_setup(setup_script=setup_script)
File "/tmp/pip-build-env-9rrrr_lp/overlay/lib/python3.10/site-packages/setuptools/build_meta.py", line 317, in run_setup
exec(code, locals())
File "<string>", line 15, in <module>
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 editable 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.
Hi, thanks for your work.
I followed your installation procedure, including the optional step to compile the custom operations, inside a virtual environment.
Unfortunately, I get several errors, among which the absence
torch, even if it is correctly installed and spotted bypip show torch.I am using the suggested command:
Do you have any suggestions to properly compile the custom operations?
Here below you can find a full log of the errors: