> > module name is "websocket" not "websocket-client" - this is egg name. > > Package name is perfectly fine (python-websocket-client would be wrong) > > How to explain this then? > > $ grep Name: > /usr/lib/python2.7/dist-packages/websocket_client-0.18.0.egg-info/PKG-INFO > Name: websocket-client
are you serious? Please read again what I wrote and then check the definition of "module name" and "egg name" (hint: Debian Python Policy). FTR, here's how you should invoke apt-file: $ apt-file search /websocket/ or even (since python-support is deprecated): $ apt-file search /dist-packages/websocket/