Skip to content

How to solve the problem in step 5 #57

@yiyukui72-afk

Description

@yiyukui72-afk

Hi,I also encountered the same problem when reproducing the code. However,after removing "-e",the problem still persisted.Could you please help me figure out how I should modify it? Sincere and heartfelt thanks

  • OUTPUT:

' python -m pip install thirdparty/lietorch/
Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple
Processing ./thirdparty/lietorch
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 "/home/star/anaconda3/envs/wildgs-slam/lib/python3.10/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 389, in
main()
File "/home/star/anaconda3/envs/wildgs-slam/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/star/anaconda3/envs/wildgs-slam/lib/python3.10/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 143, in get_requires_for_build_wheel
return hook(config_settings)
File "/tmp/pip-build-env-qrl1yijk/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-qrl1yijk/overlay/lib/python3.10/site-packages/setuptools/build_meta.py", line 301, in _get_build_requires
self.run_setup()
File "/tmp/pip-build-env-qrl1yijk/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-qrl1yijk/overlay/lib/python3.10/site-packages/setuptools/build_meta.py", line 317, in run_setup
exec(code, locals())
File "", line 2, 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: Failed to build 'file:///home/star/WildGS-SLAM/thirdparty/lietorch' when getting requirements to build wheel '

  • The following pictures show the relevant dependencies:
Image Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions