1、进入python安装目录的Lib/
#新建fcntl.py
def fcntl(fd, op, arg=0):
return 0
def ioctl(fd, op, arg=0, mutable_flag=True):
if mutable_flag:
return 0
else:
return ""
def flock(fd, op):
return
def lockf(fd, operation, length=0, start=0, whence=0):
return
2、然后进入python安装目录\Lib\site-packages\eventlet\greenio\base.py
这两句
有啥问题可以加微信聊:chenkunlia