Opened 8 weeks ago
Last modified 8 weeks ago
#70562 closed defect
py310-cython-compat 0.29.37_0.darwin_23.arm64: no module named Cython — at Initial Version
Reported by: | areilly | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.10.0 |
Keywords: | Cc: | ||
Port: | py310-cython-compat |
Description
The port installs cleanly, but does not work. It doesn't install the executables into the /opt/local/bin directory, but into /opt/local/lib/py310-cython-compat/bin/, and when executed directly from there produces the unhelpful error: Traceback (most recent call last):
File "/opt/local/bin/cython", line 5, in <module>
from Cython.Compiler.Main import setuptools_main
ModuleNotFoundError: No module named 'Cython'
If I also install py310-cython, I do get cython in /opt/local/bin but that is the latest version: % cython --version Cython version 3.0.10
Now /opt/local/lib/py310-cython-compat/bin/cython does run, but it runs the new version: % /opt/local/lib/py310-cython-compat/bin/cython --version Cython version 3.0.10
I need the old version to get the py310-grpcio port to build, apparently: https://github.com/grpc/grpc/blob/42284424acd2ba4ba649599984592f5d2eade919/requirements.txt says cython>=0.29.8,<3.0.0rc1
Macports appears to be able to install this, it just doesn't find or use it.