cyclonedds-python icon indicating copy to clipboard operation
cyclonedds-python copied to clipboard

pip installation fails in Python 3.11

Open clunietp opened this issue 2 years ago • 17 comments
trafficstars

I'm attempting to install cyclonedds-python with the included binaries per the README.

Reproducer Dockerfile:

FROM python:3.11-bullseye
RUN python3 -m pip install cyclonedds

Result:

Collecting cyclonedds
Downloading cyclonedds-0.10.2.tar.gz (156 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 156.8/156.8 kB 274.8 kB/s eta 0:00:00
Installing build dependencies: started
Installing build dependencies: finished with status 'done'
Getting requirements to build wheel: started
Getting requirements to build wheel: finished with status 'error'
error: subprocess-exited-with-error

× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> [1 lines of output]
    Could not locate cyclonedds. Try to set CYCLONEDDS_HOME or CMAKE_PREFIX_PATH
    [end of output]

Installation seems to work fine if I use the python:3.10-bullseye image instead.

clunietp avatar Aug 31 '23 16:08 clunietp

Following instructions here solves the problem https://pypi.org/project/cyclonedds/0.9.0/#installing-with-pre-built-binaries but only with bullseye version

NotAnyMike avatar Nov 24 '23 09:11 NotAnyMike

I also ran into this issue on 3.11

eburdette0 avatar Jan 03 '24 22:01 eburdette0

Can anyone make a wheel package? I guess that only need to modify the python version 3.10->3.11.

LY1806620741 avatar May 27 '24 07:05 LY1806620741

我打包了winx64下的python 3.11和3.12,实测可运行.I packaged python 3.11 and 3.12 under winx64, which are measured to run

https://github.com/LY1806620741/unitree_sdk2_python/releases/tag/3.11

https://github.com/LY1806620741/unitree_sdk2_python/releases/download/3.11/cyclonedds-0.10.2-cp311-cp311-win_amd64.whl https://github.com/LY1806620741/unitree_sdk2_python/releases/download/3.11/cyclonedds-0.10.2-cp312-cp312-win_amd64.whl

LY1806620741 avatar May 28 '24 15:05 LY1806620741

@thijsmie

Sorry to bother you, I have learned a lot from watching your pipeline products in the past two days. Do you have any plans to support a new version of Python. Azure pipeline seems to have been stop for a long time.

https://dev.azure.com/tmiedema/cyclonedds-python/

LY1806620741 avatar May 28 '24 16:05 LY1806620741

@LY1806620741

Finally, there's been some real effort on fixing the state of the python pipelines: https://dev.azure.com/eclipse-cyclonedds/cyclonedds-python/ thanks to the hard work of @trittsv. Now we can start looking at newer Python versions.

eboasson avatar Jun 05 '24 18:06 eboasson

Still having problems with this

jc211 avatar Sep 19 '24 23:09 jc211

Following instructions here solves the problem https://pypi.org/project/cyclonedds/0.9.0/#installing-with-pre-built-binaries but only with bullseye version

Can also confirm that this works on arch 6.10.11

ptfpinho23 avatar Oct 17 '24 17:10 ptfpinho23