Opened 12 months ago

#68259 new defect

grpc @1.48.4_5 python3.8 fails to import grpc.

Reported by: jhjensen Owned by:
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: grpc

Description

This happens with both python3.8 and python3.10 I would have tried python3.11, but there are no py311-grpcio py311-grpcio-tools ports.

My mac died last week, and this was working on it. This is a fresh install of macports.

@fll-mp239$ python3.8
Python 3.8.18 (default, Aug 25 2023, 02:23:15) 
[Clang 14.0.3 (clang-1403.0.22.14.1)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import grpc
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/grpc/__init__.py", line 22, in <module>
    from grpc import _compression
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/grpc/_compression.py", line 15, in <module>
    from grpc._cython import cygrpc
ImportError: dlopen(/opt/local/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/grpc/_cython/cygrpc.cpython-38-darwin.so, 0x0002): symbol not found in flat namespace '__ZN4absl12lts_202308026Status16kMovedFromStringE'
>>> ^D
 /opt  
@fll-mp239$ port installed | grep grpc
  grpc @1.48.4_5 (active)
  grpcurl @1.8.7_0
  grpcurl @1.8.8_0 (active)
  py38-grpcio @1.48.4_5 (active)
  py310-grpcio @1.48.4_5 (active)
  py310-grpcio-tools @1.48.4_5 (active)
 /opt  

Change History (0)

Note: See TracTickets for help on using tickets.