Closed PoorPocketsMcNewHold closed 5 years ago
asyncio.run was added to python in 3.7, you can update to 3.7 or change asyncio.run to old style
loop = asyncio.get_event_loop()
loop.run_until_complete(download_covers_temp(local_missing_cover_appids,steam_grid_path,missing_cover_app_dict,loop))
then add loop as a parameter in download_covers_temp and replace asyncio.create_task with loop.create_task
Thanks for your answer, as 3.5.3 was the latest version available in my distro repos, and because any minimal version weren't precised, I've didn't blame the issue on my version of Python. I've built the latest version of Python, and the script seems now to run smoothly. A new issue however happen, But i'll open a new issue because it's seems more API related.
Running on Python 3.5.3, from deepin 15.11 (Debian Linux based distribution) beautifulsoup4-4.8.0, aiohttp-3.6.1, the precised steam module from the ReadMe.md (Listed as 1.0.0a6) are installed on pip3. (Confirmed it by launching the pip module from Python3 itself
sudo python3 -m pip install MODULENAME
) Even tried installing asyncio-3.4.3 with no luck.