Comments (6)
I am running into this same issue, yet I have vlc installed, and it is the 64-bit version. I have done everything, and I still can't seem to solve it.
from python-vlc.
It looks like you did not install VLC itself. The python bindings only provide an interface to the libvlc.dll library, so you should install VLC to get the library.
from python-vlc.
@oaubert Running into this same issue with VLC 3.0.8x64 and python 3.7 from Windows 10 Store
Traceback (most recent call last):
File "bot.py", line 5, in <module>
from player import Player
File "C:\Users\Дмитрий\SnakeBot\snakebot\player.py", line 5, in <module>
import vlc
File "C:\Users\Дмитрий\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.7_qbz5n2kfra8p0\LocalCache\local-packages\Python37\site-packages\vlc.py", line 207, in <module>
dll, plugin_path = find_lib()
File "C:\Users\Дмитрий\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.7_qbz5n2kfra8p0\LocalCache\local-packages\Python37\site-packages\vlc.py", line 163, in find_lib
dll = ctypes.CDLL(libname)
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.7_3.7.2032.0_x64__qbz5n2kfra8p0\lib\ctypes\__init__.py", line 364, in __init__
self._handle = _dlopen(self._name, mode)
OSError: [WinError 126] Не найден указанный модуль
from python-vlc.
Solution credit stackoverflow : python-vlc-install-problems
- [WinError 126] resolved with adding folder where libvlc.dll (i.e. your VLC player) is located to system environment - path variable
- [WinError 193] surfaces - resolved by uninstalling and reinstalling VLC 64bit for Windows
- [VLC_NetworkStreaming_BUG] VLC/lua/playlist/youtube.luac requires to be replaced with youtube.lua file
from python-vlc.
installed python-vlc
currently working on Windows 10 64 bit machine with python 3.7
Also installed VLC for 64 bit machine
But whenever I am trying to import the vlc package it's showing error as following:
Traceback (most recent call last): File "<stdin>", line 1, in <module> File "C:\Users\SAWON\anaconda3\lib\site-packages\vlc.py", line 210, in <module> dll, plugin_path = find_lib() File "C:\Users\SAWON\anaconda3\lib\site-packages\vlc.py", line 170, in find_lib dll = ctypes.CDLL('.\\' + libname) File "C:\Users\SAWON\anaconda3\lib\ctypes\__init__.py", line 364, in __init__ self._handle = _dlopen(self._name, mode) OSError: [WinError 126] The specified module could not be found
I have tried to add libvlc.dll file in the DLLs folder and then added the path of the DLLs folder; but it couldn't help much.
Please help me to debug this
from python-vlc.
Check line 170 in your vlc.py
file, that point is reached when the plugin-path
can not be found, despite looking in half a dozen places before that, starting at line 140. The plugin-path
needs to point to a directory containing plugin optional modules needed by the libvlc.dll
library.
Try to get around the problem by setting environment variable PYTHON_VLC_MODULE_PATH
to the plugin-path
directory, see line 114.
Also, make sure to use vlc.py
version 3.+ along with the corresponding or a compatible VLC
3.+ version.
from python-vlc.
Related Issues (20)
- name 'vlc' not defined HOT 15
- Wrapper for struct libvlc_event_t is Error HOT 1
- MediaListEndReached event is never triggered
- python-vlc about wasapi generic error: cannot activate client (error 0x88890004)
- Qt Video Frame opacity
- Integrating the vlc window in Qt with Wayland HOT 2
- Render to custom OpenGL texture HOT 3
- no more functionnal with the daily vlc
- disable the option audio "time-stretching audio" HOT 1
- Add type hints HOT 1
- Discord invite is expired
- 360 video interaction with mouse
- SyntaxWarning: invalid escape sequence HOT 2
- Using the argument 'vout=mmal_xsplitter' on vlc.Instance does not seem te have any effect
- Not every logs are triggering the callback given to "log_set" HOT 1
- The function get_time() fails to provide an acurrate time HOT 1
- how to draw button over vlc video in pyqt
- Type Error - libvlc_video_set_logo_string HOT 1
- vlc.Instance() returns None on MacOS Silicon HOT 27
- direct3d11 vout display error: SetThumbNailClip failed
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from python-vlc.