aamini / introtodeeplearning

Lab Materials for MIT 6.S191: Introduction to Deep Learning

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

import mitdeeplearning , found error No module named 'cv2

Raghav-Bell opened this issue · comments

Hello! i have successfully installed mitdeeplearning pckg on anaconda but got error ("No module named 'cv2'") while importing on jupyter notebook. Can't we use mitdeeplearning on other environments ?

Hello! I have the same issue, could you please let me know how to resolve it if you found a solution.

commented

hey @SAI-SHIVA-BHASKAR it has been quite long , i have opened this issue so i have lost contact with the issue . I just installed mitdeeplearning-0.3.0 {jan , 2023 release} on google colab . It is imported without any error . Updating the package may help you or using colab . If it does n't work than make sure following packages in your env:
!pipdeptree -p mitdeeplearning
mitdeeplearning==0.3.0

  • gym [required: Any, installed: 0.25.2]
    • cloudpickle [required: >=1.2.0, installed: 2.2.1]
    • gym-notices [required: >=0.0.4, installed: 0.0.8]
    • importlib-metadata [required: >=4.8.0, installed: 6.4.1]
      • zipp [required: >=0.5, installed: 3.15.0]
    • numpy [required: >=1.18.0, installed: 1.22.4]
  • numpy [required: Any, installed: 1.22.4]
  • regex [required: Any, installed: 2022.10.31]
  • tqdm [required: Any, installed: 4.65.0]

Hello,

I have the same issue. It seems I have the correct requirements:

mitdeeplearning==0.3.0

  • gym [required: Any, installed: 0.26.2]
    • cloudpickle [required: >=1.2.0, installed: 2.2.1]
    • gym-notices [required: >=0.0.4, installed: 0.0.8]
    • numpy [required: >=1.18.0, installed: 1.24.3]
  • numpy [required: Any, installed: 1.24.3]
  • regex [required: Any, installed: 2023.5.5]
  • tqdm [required: Any, installed: 4.65.0]

I had to execute !pip install opencv-python

=> SOLVED