victordibia / skyfall

Gesture Controlled Web based Game using Tensorflow Object Detection Api
https://medium.com/@victor.dibia/how-to-build-a-gesture-controlled-web-based-game-using-tensorflow-object-detection-api-587fb7e0f907
MIT License
77 stars 24 forks source link

File "app.py", line 18, in <module> from utils import web_socket_server File "C:\Users\anurag\Downloads\skyfall-master\utils\web_socket_server.py", line 4, in <module> from SimpleWebSocketServer import SimpleWebSocketServer, WebSocket ModuleNotFoundError: No module named 'SimpleWebSocketServer' #2

Closed yaduvanshianurag closed 5 years ago

yaduvanshianurag commented 5 years ago

untitled facing this issue while running..plz help me

KaneRodriguez commented 5 years ago

The requirements.txt file currently has:

-e git@github.com/dpallot/simple-websocket-server.git

but should have:

-e git@github.com/dpallot/simple-websocket-server.git#egg=SimpleWebSocketServer

Either update the requirments file and rerun:

 pip install -r requirements.txt

or manually install with pip:

pip install -e git@github.com/dpallot/simple-websocket-server.git#egg=SimpleWebSocketServer

The egg represents the project name. I know the egg is SimpleWebSocketServer because the setup.py in the simple-websocket-server repo has that as it's name in setup.py.

victordibia commented 5 years ago

@KaneRodriguez

Thanks for the pointer .. Have now updated the requirements.txt file.

-V.