aldebaran / libqi-python

qiSDK python bindings
BSD 3-Clause "New" or "Revised" License
15 stars 11 forks source link

Python3.5 error #11

Closed NaifOAlharbi closed 3 years ago

NaifOAlharbi commented 3 years ago

I have used the command python3 ./setup.py bidst_wheel , it showed me there error below: `C:\Users\96655\Desktop\libqi-python-master>python35 ./setup.py bdist_wheel C:\Users\96655\AppData\Local\Programs\Python\Python35\lib\distutils\dist.py:261: UserWarning: Unknown distribution option: 'long_description_content_type' warnings.warn(msg) Traceback (most recent call last): File "C:\Users\96655\AppData\Local\Programs\Python\Python35\lib\site-packages\skbuild\setuptools_wrap.py", line 564, in setup cmkr = cmaker.CMaker(cmake_executable) File "C:\Users\96655\AppData\Local\Programs\Python\Python35\lib\site-packages\skbuild\cmaker.py", line 95, in init self.cmake_version = get_cmake_version(self.cmake_executable) File "C:\Users\96655\AppData\Local\Programs\Python\Python35\lib\site-packages\skbuild\cmaker.py", line 82, in get_cmake_version "Problem with the CMake installation, aborting build. CMake executable is %s" % cmake_executable)

Problem with the CMake installation, aborting build. CMake executable is cmake`

nyibbang commented 3 years ago

You can get a working version of this module on Windows x64 by installing it with pip on Python 3.8: pip install qi.

NaifOAlharbi commented 3 years ago

I have downloaded for python3.8, but when I use import qi. It showing me the error below

File "C:\Users\96655\AppData\Local\Programs\Python\Python38\lib\site-packages\qi__init__.py", line 16, in from .qi_python \ ImportError: DLL load failed while importing qi_python: The specified module could not be found.

nyibbang commented 3 years ago

I'm deeply sorry, the wheel is faulty, it's meant for Python 3.6, not Python 3.8.

You can download it and rename it qi-2.0.1-cp36-none-win_amd64.whl before installing it pip install qi-2.0.1-cp36-none-win_amd64.whl.

I fixed the wheel on PyPI, could you try reinstalling it from Python 3.6 ?

NaifOAlharbi commented 3 years ago

Yes it's working now on Python 3.6...Thanks