Skip to content
This repository has been archived by the owner on Sep 18, 2023. It is now read-only.

*loop* parameter was removed from Lock() in 3.10 #3

Closed
NakaRamatyaVtuber opened this issue Feb 1, 2022 · 2 comments
Closed

*loop* parameter was removed from Lock() in 3.10 #3

NakaRamatyaVtuber opened this issue Feb 1, 2022 · 2 comments

Comments

@NakaRamatyaVtuber
Copy link

Hello I use python 3.10, and websocket modules got error because loop parameter is not available in this version.

As of 3.10, the *loop* parameter was removed from Lock() since it is no longer necessary

How can we fix that? from python documentation I got recommend to use asyncio modules.

@mlo40
Copy link
Owner

mlo40 commented Feb 1, 2022

Python 3.10 will not work with websockets 9.1 as the asyncio module depends on the removed *loop* parameter.
Use my recommended python version 3.9.7.

Then again you can try using a newer version of websockets, but from the last time i checked it didnt work with vtube studio for some reason, that may have changed.

@NakaRamatyaVtuber
Copy link
Author

I see, thanks for the advice

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants