简体   繁体   English

如何在 Python 中安装 VLC 模块

[英]How to install the VLC module in Python

I was trying to install VLC using PIP, but get the following error:我试图使用 PIP 安装 VLC,但出现以下错误:

pip install VLC

Downloading/unpacking vlc
Cannot fetch index base URL https://pypi.python.org/simple/
Could not find any downloads that satisfy the requirement vlc
Cleaning up...
No distributions at all found for vlc
Storing complete log in C:\Users\rakeshb4\pip\pip.log

The packages vlc seems to have currently issues on pypi. vlc软件包目前似乎在 pypi 上存在问题。 However, you are on Windows and this package appears to be for MacOS only (based on description).但是,您使用的是 Windows,并且此软件包似乎仅适用于 MacOS(根据描述)。

Try python-vlc instead.尝试使用python-vlc

我可以解决这个问题:pip install python-vlc

pip install python-vlc解决

I could install this with: pip install python-vlc我可以安装它: pip install python-vlc

Here is the link: https://pypi.org/project/python-vlc/这是链接: https ://pypi.org/project/python-vlc/

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM