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

8 421174439 at qq.com
Tue Mar 3 07:37:22 MST 2015


Hi glyph‍,

Thanks for your patient reply. I try to run that on Ubuntu 14 and all works find.
So I guess you are right.

Thanks,
Mark




------------------ Original ------------------
From:  "Glyph Lefkowitz";<glyph at twistedmatrix.com>;
Date:  Tue, Mar 3, 2015 03:38 AM
To:  "Twisted general discussion"<twisted-python at twistedmatrix.com>; 

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



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/20150303/188b4ed6/attachment-0002.html>


More information about the Twisted-Python mailing list