Skip to content

Can not import _librabbitmq #158

@SnoozeFreddo

Description

@SnoozeFreddo

When i run my program i get:

  return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1006, in _gcd_import
  File "<frozen importlib._bootstrap>", line 983, in _find_and_load
  File "<frozen importlib._bootstrap>", line 967, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 728, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "PycharmProjects/celery_testing/venv/lib/python3.7/site-packages/kombu/transport/librabbitmq.py", line 10, in <module>
    import librabbitmq as amqp
  File "/venv/lib/python3.7/site-packages/librabbitmq/__init__.py", line 7, in <module>
    import _librabbitmq

Google gives me some weird results for my problem :F

and here is how i start the basic app:

app = Celery('proj', broker='librabbitmq://', include=['proj.tasks'])

I found this here:
#150

but i am using python 3.7, Celery 5.1.2, kombu 5.1, amqp 5.0.6 and librabbitmq=2.0.0 and i still hve the problem :(

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    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