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?
Asked
Active
Viewed 41 times
0
-
Are you sure you're running the latest version of trio? – Alex Grönholm May 03 '21 at 15:35
-
As for FdStream not being in trio git? https://github.com/python-trio/trio/blob/master/trio/lowlevel.py#L62 – Alex Grönholm May 03 '21 at 15:37
-
Also, are you running Windows? FdStream is part of the Unix specific API. – Alex Grönholm May 03 '21 at 15:38
1 Answers
1
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.
![](../../users/profiles/4504950.webp)
Richard Sheridan
- 194
- 1
- 6