Install external package in Blender (python websockets) I'm working on a script that processes some data coming from a web application running on a phone. The web application, written in javascript, sends data to the "blender python server" using websockets. 

The code doesn't compile with the error: 

ImportError: No module named 'websockets'

But that's not true, I have websockets installed, using pip, on my machine. And I've already used them with no problems. Is it possible that the blender environment prevents me to use them? Did anyone ever have any problems with some modules installed using pip?
You need to have the modules youre planning to use, on the python path where blender looks for the modules. blender comes with its own python installed. browse the blender directory youll find it. This is probably the cacuse.
just copy your python/lib/sitepackages folder on it and I think youll have it done...