websockets icon indicating copy to clipboard operation
websockets copied to clipboard

No module websockets.imports

Open jackswales opened this issue 1 year ago • 2 comments

When trying to load websockets, I get an error message saying:

ModuleNotFoundError: No module named 'websockets.imports'

When looking into the init.py script, line 5:

from .imports import lazy_import

an error message says .imports could not be resolved. I've tried a number of ways to overcome this error that has worked on other scripts but nothing I've tried works here.

jackswales avatar Mar 22 '24 22:03 jackswales

Any chance this is the reason? https://websockets.readthedocs.io/en/stable/faq/misc.html#why-do-i-get-the-error-module-websockets-has-no-attribute

aaugustin avatar Mar 24 '24 13:03 aaugustin

If so, I'll update the FAQ to cover this case too.

aaugustin avatar Mar 24 '24 13:03 aaugustin

No answer in 4 months -> closing.

aaugustin avatar Jul 21 '24 16:07 aaugustin