[Twisted-Python] 回复: 回复: exceptions.ImportError: cannot import name_epoll

Glyph Lefkowitz glyph at twistedmatrix.com
Mon Mar 2 12:38:39 MST 2015


> On Mar 2, 2015, at 4:55 AM, 8 <421174439 at qq.com> wrote:
> 
> maybe you are right.
> but cygwin is a linux environment on windows.

No, it is not.  It is a "unix-like" environment on Windows.

When Jean-Paul says that epoll is a "linux" feature, he does not mean that it is available on "linux-like" systems or that it is a POSIX or UNIX-ish feature.  It is specifically only available on Linux: it is not, for example, available on FreeBSD, or Mac OS X, and the thing called "epoll" on Solaris is something different that is not compatible.

For what it's worth, Cygwin is not a supported environment for Twisted.  We have buildbots that run native Windows python executables on a few versions of Windows, but we don't test under Cygwin.  It might work, but you may encounter bugs that we have not tested for, since none of our developers would be notified if it breaks.

-glyph
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/twisted-python/attachments/20150302/ec84fdbe/attachment-0002.html>


More information about the Twisted-Python mailing list