python-websockets / websockets

Library for building WebSocket servers and clients in Python

Home Page:https://websockets.readthedocs.io/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

No module websockets.imports

jackswales opened this issue · 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.

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

No answer in 4 months -> closing.