vlc python library: error 126

Answered

Hi

I am trying to download and use the python_vlc with PyCharm community edition and as soon as I type in "import vlc", which I know is correct, I get an error message.

Traceback (most recent call last):
  File "<input>", line 1, in <module>
  File "C:\Program Files\JetBrains\PyCharm Community Edition 2017.2.4\helpers\pydev\_pydev_bundle\pydev_import_hook.py", line 21, in do_import
    module = self._system_import(name, *args, **kwargs)
  File "C:\Python27\lib\site-packages\vlc.py", line 198, in <module>
    dll, plugin_path  = find_lib()
  File "C:\Python27\lib\site-packages\vlc.py", line 173, in find_lib
    dll = ctypes.CDLL(libname)
  File "C:\Python27\lib\ctypes\__init__.py", line 366, in __init__
    self._handle = _dlopen(self._name, mode)
WindowsError: [Error 126] The specified module could not be found

Any help with trying to fix this.

Thanks in advance,

Joshua

 

 

0
2 comments

Please try to import vlc in the command line using the same interpreter. Do you have the same error?

0

I have same error, I tried in cli with python and ipython, I have no errors, only into pycharm. I have pro edition, my case is not with vlc but gdal, but same problem with CDLL

0

Please sign in to leave a comment.