Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top
>>> import gevent
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "build/bdist.macosx-10.6-universal/egg/gevent/", line 41, in <module>
  File "build/bdist.macosx-10.6-universal/egg/gevent/", line 7, in <module>
  File "build/bdist.macosx-10.6-universal/egg/gevent/", line 6, in __bootstrap__
ImportError: dlopen(/Users/admin/.python-eggs/gevent-0.13.6-py2.6-macosx-10.6-universal.egg-tmp/gevent/, 2): Symbol not found: _event_global_current_base_
  Referenced from: /Users/admin/.python-eggs/gevent-0.13.6-py2.6-macosx-10.6-universal.egg-tmp/gevent/
  Expected in: flat namespace
 in /Users/admin/.python-eggs/gevent-0.13.6-py2.6-macosx-10.6-universal.egg-tmp/gevent/

What's this about? I did not get any errors during the installation

share|improve this question

migrated from Jun 29 '11 at 15:13

This question came from our site for professional and enthusiast programmers.

fixed for github


First I like to grab libevent via macports. Ignore this if you’ve already done it on your system.

sudo ports install libevent

Alternatively you could build it yourself or use Homebrew. By the way, both MacPorts and Homebrew do use the newer Libevent2.X.X branch.

Install cython

pip install cython

Install greenlet (optional as gevent will build this).

pip install greenlet

Clone, Build, Install gevent.

git clone

I like to first build gevent to see if everything went right. Change to the gevent directory first and then:

python build

If all went well go ahead and install:

python install
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.