AcademySoftwareFoundation / AcademySoftwareFoundation/OpenCue

grpc: cannot import name '_server' from 'grpc' (/path/to/grpc/packages)

Open
#1,675 3 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Python
Stars
957
Forks
259
Avg merge
3d 6h
Merged PRs (30d)
16

Description

Hey, I'm currently trying to get an opencue farm up and running on my Linux machines. I'm currently setting up the rqd nodes, but when I try starting them, I get the error:

ImportError: cannot import name '_server' from 'grpc' (/path/to/__init__.py)

- I'm using rocky linux9
- the code is running in a venv environment
- the _server.py file does exist in the expected location
- the __init__.py file is in the same expected location

I followed the official documentation on the opencue website.
I'm at a bit of a loss what the problem could be and would appreciate further steps to troubleshoot this and would be happy to provide further information if I'm able to.

Thanks in advance.

Contributor guide

Open the contributing guide

Research direction

Start by reproducing rqd startup in the reported Rocky Linux 9 virtual environment and inspect the grpc package's __init__.py and _server.py at the shown import location. Verify how the documented OpenCue setup resolves grpc and whether the failing import can be reproduced; done means identifying a confirmed cause and documenting the required correction or next troubleshooting step.

Written by the indexing model from the issue text.

Assessment

Tech stack
grpc, python
Domain
distributed-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.