Closed RomanPerekhrest closed 4 months ago
Which version of aiofiles are you using? You can check with pip list
.
Which version of aiofiles are you using?
it's '0.3.2'
.
Oh that's pretty ancient. The tempfile
thing was added in 0.7. You'll need to upgrade.
thank you. pip install -U aiofiles
fixed it for me.
Got
AttributeError("module 'aiofiles' has no attribute 'tempfile'")
on line:async with aiofiles.tempfile.TemporaryFile('w') as f:
.Python version:
3.10.12
OS: Ubuntu 22