I got a trio input function from a friend and it's trying to use trio.lowleve.FdStream, however I can't find it

134 views Asked by At

I'm getting this error: AttributeError: module 'trio.lowlevel' has no attribute 'FdStream'. FdStream isn't in the trio code on git nor in my installation. Is there an alternative to this, or is there a different version I did't find?

1

There are 1 answers

0
Richard Sheridan On BEST ANSWER

That attribute is only available on non-Windows platforms. If your friend made the function compatible with only Linux/macos, you will need to run the function on a Posix platform as well.