你好傢伙,我已經下載了需要GEVENT Python庫我每次運行該腳本它說時間的腳本:
GEVENT庫:「導入錯誤:沒有模塊名爲greenlet」
File "shodan.py", line 7, in <module>
from gevent import monkey
File "C:\Python27\lib\site-packages\gevent\__init__.py", line 48, in <module>
from gevent.greenlet import Greenlet, joinall, killall
File "C:\Python27\lib\site-packages\gevent\greenlet.py", line 6, in <module>
from gevent.hub import greenlet, getcurrent, get_hub, GreenletExit, Waiter
File "C:\Python27\lib\site-packages\gevent\hub.py", line 30, in <module>
greenlet = __import__('greenlet').greenlet
ImportError: No module named greenlet
我已經成功下載並安裝gevent和我只是困惑可以有人給我的解決方案,並解釋這個問題。
'greenlet'是'gevent'依賴項:https://crate.io/packages/greenlet/ – rubik