cozmo-python-sdk icon indicating copy to clipboard operation
cozmo-python-sdk copied to clipboard

Found an ""ImportError" raised."

Open JFIUG opened this issue 3 years ago • 2 comments

Hi! Im new to python. i tried to use the "remote_control_cozmo.py" python file. when i used it in flask (python app) it said the following:

 * Serving Flask app 'remote_control_cozmo.py' (lazy loading)
 * Environment: production
   WARNING: This is a development server. Do not use it in a production deployment.
   Use a production WSGI server instead.
 * Debug mode: off
Usage: python -m flask run [OPTIONS]
Try 'python -m flask run --help' for help
.Error: While importing 'remote_control_cozmo', an ImportError was raised.

JFIUG avatar Nov 19 '21 17:11 JFIUG

Oh i'm on windows (ver. 10)

JFIUG avatar Nov 20 '21 11:11 JFIUG

You're probably using the library 'remote_control_cozmo' somewhere in your code, and haven't imported it. Not sure what the remote_control_cozmo library is tho..

Stephenthomas794 avatar Dec 25 '21 06:12 Stephenthomas794