exelixi icon indicating copy to clipboard operation
exelixi copied to clipboard

ImportError: cannot import name shutdown

Open dbl001 opened this issue 10 years ago • 1 comments

Hi, I'm on a MacBook Pro running 10.10.3 with an Anaconda stack. David-Laxers-MacBook-Pro:incubator-zeppelin davidlaxer$ conda -V conda 3.13.0

gevent==1.0.1 does not seem to have a shutdown method. Any ideas?

David-Laxers-MacBook-Pro: davidlaxer$ ipython Python 2.7.10 |Anaconda 2.2.0 (x86_64)| (default, May 28 2015, 17:04:42) Type "copyright", "credits" or "license" for more information.

IPython 3.1.0 -- An enhanced Interactive Python. Anaconda is brought to you by Continuum Analytics. Please check out: http://continuum.io/thanks and https://binstar.org ? -> Introduction and overview of IPython's features. %quickref -> Quick reference. help -> Python's own help system. object? -> Details about 'object', use 'object??' for extra details.

In [1]: from gevent import shutdown

ImportError Traceback (most recent call last) in () ----> 1 from gevent import shutdown

ImportError: cannot import name shutdown

In [2]: from gevent import *

In [3]: quit David-Laxers-MacBook-Pro:incubator-zeppelin davidlaxer$ pip freeze | grep gevent gevent==1.0.1 gevent-websocket==0.9.3 David-Laxers-MacBook-Pro:incubator-zeppelin davidlaxer$

dbl001 avatar Jun 11 '15 17:06 dbl001

Looks like gevent.shutdown is depricated:

https://github.com/sdiehl/gevent-tutorial/issues/9

dbl001 avatar Jun 12 '15 14:06 dbl001