anki / cozmo-python-sdk

Anki Cozmo Python SDK
Other
661 stars 427 forks source link

Found an ""ImportError" raised." #217

Open JFIUG opened 2 years ago

JFIUG commented 2 years ago

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 commented 2 years ago

Oh i'm on windows (ver. 10)

Stephenthomas794 commented 2 years ago

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..