0

Good afternoon, For the second day I can't move forward because of this problem. I've been doing python recently. I downloaded all packages, checked with the versions I have python 3.10. And it gives this error every time. Tell me what to do, please.

D:\pythonProject\venv\Scripts\python.exe D:\pythonProject\main.py 
Traceback (most recent call last):
  File "D:\pythonProject\main.py", line 1, in <module>
    from imageai.Detection import ObjectDetection
  File "D:\pythonProject\venv\lib\site-packages\imageai\Detection\__init__.py", line 2, in <module>
    from imageai.Detection.keras_retinanet.models.resnet import resnet50_retinanet
  File "D:\pythonProject\venv\lib\site-packages\imageai\Detection\keras_retinanet\models\resnet.py", line 19, in <module>
    import keras
ModuleNotFoundError: No module named 'keras'

Process finished with exit code 1

enter image description here

Deleted, changed the interpreter (PyCharm to VS), changed the file paths.

tupica228
  • 1
  • 1

0 Answers0