Skip to content

Packages required to run gRPC on AXC #1

Description

@AndyE-PxC

What packages are required to be installed on the AXC platform to use gRPC with Python?

I believe I have generated the stubs correctly as per the instructions in the folder in the repository. And I've generated a simple python script to write to a string port in the PLC.

On the PLC I have run the following commands:

pip install grpcio
pip install protobuf

Then I attempt to run my test script, but then receive the following error:

ImportError: cannot import name 'cygrpc' from 'grpc._cython' (/opt/plcnext/.local/lib/python3.8/site-packages/grpc/_cython/init.py)

Am I missing a package? Trying to install cygrpc via pip, just generates a lot of errors?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions