eclipse-cyclonedds/cyclonedds-python

Can't install cyclonedds

Opened this issue · 0 comments

avelin0 commented

I'm getting this error to install cyclonedds python lib 0.10.5 version in python 3.11.9 using Windows 11.

pip install cyclonedds
Collecting cyclonedds
  Using cached cyclonedds-0.10.5.tar.gz (156 kB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
Requirement already satisfied: rich-click in c:\users\avelino.bruno\pycharmprojects\proj-cyclonedds\.venv\lib\site-packages (from cyclonedds) (1.8.4)
Requirement already satisfied: click>=7 in c:\users\avelino.bruno\pycharmprojects\proj-cyclonedds\.venv\lib\site-packages (from rich-click->cyclonedds) (8.1.7)
Requirement already satisfied: rich>=10.7 in c:\users\avelino.bruno\pycharmprojects\proj-cyclonedds\.venv\lib\site-packages (from rich-click->cyclonedds) (13.9.4)
Requirement already satisfied: typing-extensions>=4 in c:\users\avelino.bruno\pycharmprojects\proj-cyclonedds\.venv\lib\site-packages (from rich-click->cyclonedds) (4.12.2)
Requirement already satisfied: colorama in c:\users\avelino.bruno\pycharmprojects\proj-cyclonedds\.venv\lib\site-packages (from click>=7->rich-click->cyclonedds) (0.4.6)
Requirement already satisfied: markdown-it-py>=2.2.0 in c:\users\avelino.bruno\pycharmprojects\proj-cyclonedds\.venv\lib\site-packages (from rich>=10.7->rich-click->cyclonedds) (3.0.0)
Requirement already satisfied: pygments<3.0.0,>=2.13.0 in c:\users\avelino.bruno\pycharmprojects\proj-cyclonedds\.venv\lib\site-packages (from rich>=10.7->rich-click->cyclonedds) (2.18.0)
Requirement already satisfied: mdurl~=0.1 in c:\users\avelino.bruno\pycharmprojects\proj-cyclonedds\.venv\lib\site-packages (from markdown-it-py>=2.2.0->rich>=10.7->rich-click->cyclonedds) (0.1.2)
Building wheels for collected packages: cyclonedds
  Building wheel for cyclonedds (pyproject.toml) ... error
  error: subprocess-exited-with-error

  × Building wheel for cyclonedds (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> [90 lines of output]
      running bdist_wheel
      running build
      running build_py
      creating build\lib.win-amd64-cpython-311\cyclonedds
      copying cyclonedds\builtin.py -> build\lib.win-amd64-cpython-311\cyclonedds
      copying cyclonedds\core.py -> build\lib.win-amd64-cpython-311\cyclonedds
      copying cyclonedds\domain.py -> build\lib.win-amd64-cpython-311\cyclonedds
      copying cyclonedds\dynamic.py -> build\lib.win-amd64-cpython-311\cyclonedds
      copying cyclonedds\internal.py -> build\lib.win-amd64-cpython-311\cyclonedds
      copying cyclonedds\pub.py -> build\lib.win-amd64-cpython-311\cyclonedds
      copying cyclonedds\qos.py -> build\lib.win-amd64-cpython-311\cyclonedds
      copying cyclonedds\sub.py -> build\lib.win-amd64-cpython-311\cyclonedds
      copying cyclonedds\topic.py -> build\lib.win-amd64-cpython-311\cyclonedds
      copying cyclonedds\util.py -> build\lib.win-amd64-cpython-311\cyclonedds
      copying cyclonedds\__idlc__.py -> build\lib.win-amd64-cpython-311\cyclonedds
      copying cyclonedds\__init__.py -> build\lib.win-amd64-cpython-311\cyclonedds
      copying cyclonedds\__library__.py -> build\lib.win-amd64-cpython-311\cyclonedds
      creating build\lib.win-amd64-cpython-311\cyclonedds\idl
      copying cyclonedds\idl\annotations.py -> build\lib.win-amd64-cpython-311\cyclonedds\idl
      copying cyclonedds\idl\mypy_plugin.py -> build\lib.win-amd64-cpython-311\cyclonedds\idl
      copying cyclonedds\idl\types.py -> build\lib.win-amd64-cpython-311\cyclonedds\idl
      copying cyclonedds\idl\_builder.py -> build\lib.win-amd64-cpython-311\cyclonedds\idl
      copying cyclonedds\idl\_machinery.py -> build\lib.win-amd64-cpython-311\cyclonedds\idl
      copying cyclonedds\idl\_main.py -> build\lib.win-amd64-cpython-311\cyclonedds\idl
      copying cyclonedds\idl\_support.py -> build\lib.win-amd64-cpython-311\cyclonedds\idl
      copying cyclonedds\idl\_type_helper.py -> build\lib.win-amd64-cpython-311\cyclonedds\idl
      copying cyclonedds\idl\_type_normalize.py -> build\lib.win-amd64-cpython-311\cyclonedds\idl
      copying cyclonedds\idl\_xt_builder.py -> build\lib.win-amd64-cpython-311\cyclonedds\idl
      copying cyclonedds\idl\__init__.py -> build\lib.win-amd64-cpython-311\cyclonedds\idl
      creating build\lib.win-amd64-cpython-311\cyclonedds\tools
      copying cyclonedds\tools\__init__.py -> build\lib.win-amd64-cpython-311\cyclonedds\tools
      creating build\lib.win-amd64-cpython-311\cyclonedds\idl\_typesupport
      copying cyclonedds\idl\_typesupport\__init__.py -> build\lib.win-amd64-cpython-311\cyclonedds\idl\_typesupport       
      creating build\lib.win-amd64-cpython-311\cyclonedds\idl\_typesupport\DDS
      copying cyclonedds\idl\_typesupport\DDS\__init__.py -> build\lib.win-amd64-cpython-311\cyclonedds\idl\_typesupport\DDS
      creating build\lib.win-amd64-cpython-311\cyclonedds\idl\_typesupport\DDS\XTypes
      copying cyclonedds\idl\_typesupport\DDS\XTypes\_ddsi_xt_typemap.py -> build\lib.win-amd64-cpython-311\cyclonedds\idl\_typesupport\DDS\XTypes
      copying cyclonedds\idl\_typesupport\DDS\XTypes\_ddsi_xt_type_object.py -> build\lib.win-amd64-cpython-311\cyclonedds\idl\_typesupport\DDS\XTypes
      copying cyclonedds\idl\_typesupport\DDS\XTypes\__init__.py -> build\lib.win-amd64-cpython-311\cyclonedds\idl\_typesupport\DDS\XTypes
      creating build\lib.win-amd64-cpython-311\cyclonedds\tools\cli
      copying cyclonedds\tools\cli\ddsperf.py -> build\lib.win-amd64-cpython-311\cyclonedds\tools\cli
      copying cyclonedds\tools\cli\idl.py -> build\lib.win-amd64-cpython-311\cyclonedds\tools\cli
      copying cyclonedds\tools\cli\ls.py -> build\lib.win-amd64-cpython-311\cyclonedds\tools\cli
      copying cyclonedds\tools\cli\main.py -> build\lib.win-amd64-cpython-311\cyclonedds\tools\cli
      copying cyclonedds\tools\cli\ps.py -> build\lib.win-amd64-cpython-311\cyclonedds\tools\cli
      copying cyclonedds\tools\cli\qosformat.py -> build\lib.win-amd64-cpython-311\cyclonedds\tools\cli
      copying cyclonedds\tools\cli\settings.py -> build\lib.win-amd64-cpython-311\cyclonedds\tools\cli
      copying cyclonedds\tools\cli\sub.py -> build\lib.win-amd64-cpython-311\cyclonedds\tools\cli
      copying cyclonedds\tools\cli\typeof.py -> build\lib.win-amd64-cpython-311\cyclonedds\tools\cli
      copying cyclonedds\tools\cli\utils.py -> build\lib.win-amd64-cpython-311\cyclonedds\tools\cli
      copying cyclonedds\tools\cli\__init__.py -> build\lib.win-amd64-cpython-311\cyclonedds\tools\cli
      creating build\lib.win-amd64-cpython-311\cyclonedds\tools\ddsls
      copying cyclonedds\tools\ddsls\__init__.py -> build\lib.win-amd64-cpython-311\cyclonedds\tools\ddsls
      copying cyclonedds\tools\ddsls\__main__.py -> build\lib.win-amd64-cpython-311\cyclonedds\tools\ddsls
      creating build\lib.win-amd64-cpython-311\cyclonedds\tools\pubsub
      copying cyclonedds\tools\pubsub\check_entity_qos.py -> build\lib.win-amd64-cpython-311\cyclonedds\tools\pubsub       
      copying cyclonedds\tools\pubsub\datastruct.py -> build\lib.win-amd64-cpython-311\cyclonedds\tools\pubsub
      copying cyclonedds\tools\pubsub\entity_qos.py -> build\lib.win-amd64-cpython-311\cyclonedds\tools\pubsub
      copying cyclonedds\tools\pubsub\parse_qos.py -> build\lib.win-amd64-cpython-311\cyclonedds\tools\pubsub
      copying cyclonedds\tools\pubsub\topic_manager.py -> build\lib.win-amd64-cpython-311\cyclonedds\tools\pubsub
      copying cyclonedds\tools\pubsub\__init__.py -> build\lib.win-amd64-cpython-311\cyclonedds\tools\pubsub
      copying cyclonedds\tools\pubsub\__main__.py -> build\lib.win-amd64-cpython-311\cyclonedds\tools\pubsub
      creating build\lib.win-amd64-cpython-311\cyclonedds\tools\wheel_idlc
      copying cyclonedds\tools\wheel_idlc\__init__.py -> build\lib.win-amd64-cpython-311\cyclonedds\tools\wheel_idlc       
      creating build\lib.win-amd64-cpython-311\cyclonedds\tools\cli\data
      copying cyclonedds\tools\cli\data\__init__.py -> build\lib.win-amd64-cpython-311\cyclonedds\tools\cli\data
      creating build\lib.win-amd64-cpython-311\cyclonedds\tools\cli\discovery
      copying cyclonedds\tools\cli\discovery\ls_discoverables.py -> build\lib.win-amd64-cpython-311\cyclonedds\tools\cli\discovery
      copying cyclonedds\tools\cli\discovery\main.py -> build\lib.win-amd64-cpython-311\cyclonedds\tools\cli\discovery     
      copying cyclonedds\tools\cli\discovery\ps_discoverables.py -> build\lib.win-amd64-cpython-311\cyclonedds\tools\cli\discovery
      copying cyclonedds\tools\cli\discovery\__init__.py -> build\lib.win-amd64-cpython-311\cyclonedds\tools\cli\discovery 
      creating build\lib.win-amd64-cpython-311\cyclonedds\tools\cli\layout
      copying cyclonedds\tools\cli\layout\app.py -> build\lib.win-amd64-cpython-311\cyclonedds\tools\cli\layout
      copying cyclonedds\tools\cli\layout\barchart.py -> build\lib.win-amd64-cpython-311\cyclonedds\tools\cli\layout       
      copying cyclonedds\tools\cli\layout\ping.py -> build\lib.win-amd64-cpython-311\cyclonedds\tools\cli\layout
      copying cyclonedds\tools\cli\layout\pong.py -> build\lib.win-amd64-cpython-311\cyclonedds\tools\cli\layout
      copying cyclonedds\tools\cli\layout\publish.py -> build\lib.win-amd64-cpython-311\cyclonedds\tools\cli\layout        
      copying cyclonedds\tools\cli\layout\subscribe.py -> build\lib.win-amd64-cpython-311\cyclonedds\tools\cli\layout      
      copying cyclonedds\tools\cli\layout\__init__.py -> build\lib.win-amd64-cpython-311\cyclonedds\tools\cli\layout       
      copying cyclonedds\py.typed -> build\lib.win-amd64-cpython-311\cyclonedds
      copying cyclonedds\idl\py.typed -> build\lib.win-amd64-cpython-311\cyclonedds\idl
      running build_ext
      building 'cyclonedds._clayer' extension
      creating build\temp.win-amd64-cpython-311\Release\clayer
      "C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.41.34120\bin\HostX86\x64\cl.exe" /c /nologo
 /O2 /W3 /GL /DNDEBUG /MD -IC:\include -IC:\Users\avelino.bruno\AppData\Local\Temp\pip-install-hyexokj7\cyclonedds_c8bbb408
f72143948cc4c10130fb437a\clayer -IC:\Users\avelino.bruno\PycharmProjects\proj-cyclonedds\.venv\include "-IC:\Program Files\
WindowsApps\PythonSoftwareFoundation.Python.3.11_3.11.2544.0_x64__qbz5n2kfra8p0\include" "-IC:\Program Files\WindowsApps\Py
thonSoftwareFoundation.Python.3.11_3.11.2544.0_x64__qbz5n2kfra8p0\Include" "-IC:\Program Files\Microsoft Visual Studio\2022
\Community\VC\Tools\MSVC\14.41.34120\include" "-IC:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.4
1.34120\ATLMFC\include" "-IC:\Program Files\Microsoft Visual Studio\2022\Community\VC\Auxiliary\VS\include" "-IC:\Program F
iles (x86)\Windows Kits\10\include\10.0.22621.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.22621.0\\um" 
"-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.22621.0\\shared" "-IC:\Program Files (x86)\Windows Kits\10\\include
\10.0.22621.0\\winrt" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.22621.0\\cppwinrt" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um" /Tcclayer/cdrkeyvm.c /Fobuild\temp.win-amd64-cpython-311\Release\clayer/cdrkeyvm.obj 
      cdrkeyvm.c
      "C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.41.34120\bin\HostX86\x64\cl.exe" /c /nologo
 /O2 /W3 /GL /DNDEBUG /MD -IC:\include -IC:\Users\avelino.bruno\AppData\Local\Temp\pip-install-hyexokj7\cyclonedds_c8bbb408
f72143948cc4c10130fb437a\clayer -IC:\Users\avelino.bruno\PycharmProjects\proj-cyclonedds\.venv\include "-IC:\Program Files\
WindowsApps\PythonSoftwareFoundation.Python.3.11_3.11.2544.0_x64__qbz5n2kfra8p0\include" "-IC:\Program Files\WindowsApps\Py
thonSoftwareFoundation.Python.3.11_3.11.2544.0_x64__qbz5n2kfra8p0\Include" "-IC:\Program Files\Microsoft Visual Studio\2022
\Community\VC\Tools\MSVC\14.41.34120\include" "-IC:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.4
1.34120\ATLMFC\include" "-IC:\Program Files\Microsoft Visual Studio\2022\Community\VC\Auxiliary\VS\include" "-IC:\Program F
iles (x86)\Windows Kits\10\include\10.0.22621.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.22621.0\\um" 
"-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.22621.0\\shared" "-IC:\Program Files (x86)\Windows Kits\10\\include
\10.0.22621.0\\winrt" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.22621.0\\cppwinrt" "-IC:\Program Files (x86)\
Windows Kits\NETFXSDK\4.8\include\um" /Tcclayer/pysertype.c /Fobuild\temp.win-amd64-cpython-311\Release\clayer/pysertype.obj
      pysertype.c
      clayer/pysertype.c(23): fatal error C1083: NÆo ‚ poss¡vel abrir arquivo incluir: 'dds/ddsi/q_radmin.h': No such file or directory
      error: command 'C:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.41.34120\\bin\\HostX86\\x64\\cl.exe' failed with exit code 2
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for cyclonedds
Failed to build cyclonedds
ERROR: ERROR: Failed to build installable wheels for some pyproject.toml based projects (cyclonedds)