introtodeeplearning icon indicating copy to clipboard operation
introtodeeplearning copied to clipboard

import mitdeeplearning , found error No module named 'cv2

Open Raghav-Bell opened this issue 4 years ago • 4 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 ?

Raghav-Bell avatar Jun 11 '21 06:06 Raghav-Bell

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

SAI-SHIVA-BHASKAR avatar Apr 17 '23 03:04 SAI-SHIVA-BHASKAR

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]

Raghav-Bell avatar Apr 20 '23 04:04 Raghav-Bell

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

erbesnard avatar May 03 '23 18:05 erbesnard

Hey Raghav,

Thanks for the help. It imported well for me in Google colab but I was having issues with the Jupyter notebook.

Regards, Bhaskar.

On Thu, Apr 20, 2023 at 12:24 AM Raghav @.***> wrote:

hey @SAI-SHIVA-BHASKAR https://github.com/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]

— Reply to this email directly, view it on GitHub https://github.com/aamini/introtodeeplearning/issues/94#issuecomment-1515693674, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKFZNVTZBUJOBNZ4HGSHWE3XCC3ARANCNFSM46QBY25Q . You are receiving this because you were mentioned.Message ID: @.***>

SAI-SHIVA-BHASKAR avatar May 07 '23 02:05 SAI-SHIVA-BHASKAR