Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ModuleNotFoundError: No module named 'google.protobuf' when spawning additional process when using nix built python #170

Open
colonelpanic8 opened this issue Aug 29, 2024 · 0 comments

Comments

@colonelpanic8
Copy link
Contributor

colonelpanic8 commented Aug 29, 2024

Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/nix/store/7hnr99nxrd2aw6lghybqdmkckq60j6l9-python3-3.11.9/lib/python3.11/multiprocessing/spawn.py", line 122, in spawn_main
    exitcode = _main(fd, parent_sentinel)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/nix/store/7hnr99nxrd2aw6lghybqdmkckq60j6l9-python3-3.11.9/lib/python3.11/multiprocessing/spawn.py", line 132, in _main
    self = reduction.pickle.load(from_parent)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/nix/store/0jzcgf4g59maxjs6v6qkfidfwwckidvy-python3.11-hatchet-sdk-0.36.14/lib/python3.11/site-packages/hatchet_sdk/__init__.py", line 120, in <module>
    from hatchet_sdk.contracts.workflows_pb2 import (
  File "/nix/store/0jzcgf4g59maxjs6v6qkfidfwwckidvy-python3.11-hatchet-sdk-0.36.14/lib/python3.11/site-packages/hatchet_sdk/contracts/workflows_pb2.py", line 6, in <module>
    from google.protobuf import descriptor as _descriptor
ModuleNotFoundError: No module named 'google.protobuf'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant