Skip to content

rules_python link libpython3.11 #47

Description

@daohu527

When the dynamic library generated by rules_python depends on python.so, but this does not seem to be the system's python dynamic library, how can the two be unified?

Traceback (most recent call last):
  File "/workspaces/pycyber/pycyber/examples/listener.py", line 23, in <module>
    from pycyber import cyber
  File "/home/vscode/.local/lib/python3.10/site-packages/pycyber/cyber.py", line 39, in <module>
    _CYBER = importlib.import_module('_cyber_wrapper')
  File "/usr/lib/python3.10/importlib/__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
ImportError: libpython3.11.so.1.0: cannot open shared object file: No such file or directory

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions