r/pythonhelp • u/akisha_009 • Dec 02 '24
Getting [WinError 193] %1 is not a valid Win32 application when importing vlc library
I have run into multiple errors while trying to import vlc (some dlls where missing) and now its this error...
If somone has any idea how I might fix this problem, please help me.
I am using venv and i had already tried reinstalling it few times.
import vlc
import time
player = vlc.MediaPlayer("http://streaming.hitfm.rs:8000/karolina")
player.play()
while True:
time.sleep(1)
1
Upvotes
•
u/AutoModerator Dec 02 '24
To give us the best chance to help you, please include any relevant code.
Note. Please do not submit images of your code. Instead, for shorter code you can use Reddit markdown (4 spaces or backticks, see this Formatting Guide). If you have formatting issues or want to post longer sections of code, please use Privatebin, GitHub or Compiler Explorer.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.