I'm a programmer, but I'm not a Python programmer, yet. So I'm sure what I'm doing wrong here relates more to my lack of knowledge than anything else...
I'm looking at a Websockets example here: http://eventlet.net/doc/examples.html#websocket-server-example
On my Ubuntu system I have tried: sudo apt-get install python-eventlet (which installs Eventlet 0.12.1, which appears to be the current version)
I then try to run the example and get: $python eventlet.py Traceback (most recent call last): File "eventlet.py", line 1, in <module> import eventlet File "/home/mark/python/eventlet.py", line 4, in <module> from eventlet import wsgi ImportError: cannot import name wsgi
If I Google the error, using the assumption that stupid errors are made by lots of people so I won't be alone, I find only two hits neither of which are remotely related. But I've tried this on more than one system without success.
Suggestions?
I don't have the relevant build tools installed to try using easy_install instead but as 0.12.1 is the latest version I don't think the install method is the problem here?