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

Unable to install the Python library on Windows 10 #34

Open
kefon opened this issue May 1, 2023 · 0 comments
Open

Unable to install the Python library on Windows 10 #34

kefon opened this issue May 1, 2023 · 0 comments

Comments

@kefon
Copy link

kefon commented May 1, 2023

After following the instruction to install the SDK on Windows 10 (64), everything is working as expected, and I can launch the different examples and .exe files. Now I need to install the Python library, but whatever I try I'm stuck with this error:

error: [Errno 2] No such file or directory: 'build\\temp.win-amd64-3.9\\Release/python/ydlidar.py'

or

 Preparing metadata (setup.py) ... done
Building wheels for collected packages: ydlidar
  Building wheel for ydlidar (setup.py) ... error
  error: subprocess-exited-with-error

  × python setup.py bdist_wheel did not run successfully.
note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for ydlidar
  Running setup.py clean for ydlidar
Failed to build ydlidar
ERROR: Could not build wheels for ydlidar, which is required to install pyproject.toml-based projects

I tried the two options mentioned:

cd YDLidar-SDK
pip install .

# Another method
python setup.py build
python setup.py install

but no luck.
Any idea what's going on and how to fix this?
Thanks in advance!

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