#🔒 need help to upgrade websockets legacy

16 messages · Page 1 of 1 (latest)

dusk grove
#

The new implementation is found in the websockets.asyncio package.

The original implementation was moved to the websockets.legacy package and deprecated.

The websockets package provides aliases for convenience. They were switched to the new implementation in version 14.0 or deprecated when there wasn’t an equivalent API.

wraith dirgeBOT
#

@dusk grove

Python help channel opened

Remember to:

  • Ask your Python question, not if you can ask or if there's an expert who can help.
  • Show a code sample as text (rather than a screenshot) and the error message, if you've got one.
  • Explain what you expect to happen and what actually happens.

:warning: Do not pip install anything that isn't related to your question, especially if asked to over DMs.

shell trench
dusk grove
#

im very new to this im sry

#

it is runing legacy i need to change the path to go to asyncio

#

i didnt right this code im

#

trying to run a jitserver

#

it gives me this warning

#

C:\Users\hivel\SideJITServer\venv\Lib\site-packages\websockets\legacy_init_.py:6: DeprecationWarning: websockets.legacy is deprecated;

shell trench
#

Show the code

shell trench
dusk grove
#

at websocketsd?

shell trench
#

No jitserver

dusk grove
#

ah ok thanks for the help :)_

wraith dirgeBOT
#
Python help channel closed

This help channel has been closed and it's no longer possible to send messages here. If your question wasn't answered, feel free to create a new post in #1035199133436354600. To maximize your chances of getting a response, check out this guide on asking good questions.