Home>

The program uses CV2, I work in Conda. Recently, everything worked fine, but then this error began to occur. I recently started working with Python, I tried to reinstall through Conda Install -c Menpo OpenCV And through the built-in Pycharm tools, it did not help.

TracEBack (MOST Recent Call Last):
  File "<
INPUT >
", Line 1, In <
Module >
  File "C: \ Program Files \ Jetbrains \ Pycharm Community Edition 2019.3.3 \ Plugins \ Python-Ce \ Helpers \ Pydev \ _pyDev_Bundle \ pydev_umd.py", Line 197, in Runfile
    pydev_imports.execfile (FileName, Global_Vars, Local_Vars) # EXECUTE THE SCRIPT
  File "C: \ Program Files \ JetBrains \ Pycharm Community Edition 2019.3.3 \ Plugins \ Python-CE \ Helpers \ Pydev \ _pydev_imps \ _pydev_execfile.py", Line 18, In ExecFile
    Exec (CONTENTS + "\ N", File, 'Exec'), Glob, Loc)
  File "C: /Conda /ENV /Device 2.7 2 /Main.py", Line 1, In <
Module >
    from Function Import *
  File "C: \ Program Files \ JetBrains \ Pycharm Community Edition 2019.3.3 \ Pydev \ Python-CE \ Helpers \ Pydev _Pydev_Bundle \ pydev_import_hook.py", Line 21, in do_import
    module= self._system_import (Name, * Args, ** kwargs)
  File "C: \ Conda \ ENV \ Device 2.7 2 \ FUNCTION.PY", LINE 1, IN <
Module >
    Import CV2 AS CV
  File "C: \ Program Files \ JetBrains \ Pycharm Community Edition 2019.3.3 \ Pydev \ Python-CE \ Helpers \ Pydev _Pydev_Bundle \ pydev_import_hook.py", Line 21, in do_import
    module= self._system_import (Name, * Args, ** kwargs)
Importerror: DLL LOAD FAILED: The specified module is not found.