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

Can not import _librabbitmq #158

Open
SnoozeFreddo opened this issue Jul 8, 2021 · 1 comment
Open

Can not import _librabbitmq #158

SnoozeFreddo opened this issue Jul 8, 2021 · 1 comment

Comments

@SnoozeFreddo
Copy link

SnoozeFreddo commented Jul 8, 2021

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 :(

@thedrow
Copy link
Member

thedrow commented Jul 13, 2021

There's not enough information to debug this issue.
Did the package compile successfully?

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

2 participants