致命错误C1083:不能打开包含文件:“碳/碳”。没有这样的文件或目录。

时间:2022-08-03 15:55:16

I'm getting the above error when trying to install libvlc:

在尝试安装libvlc时,我得到了上述错误:

C:\>easy_install vlc
Searching for vlc
Best match: vlc 0.0.1
Adding vlc 0.0.1 to easy-install.pth file

Using c:\python27\lib\site-packages
Processing dependencies for vlc
Searching for appscript
Reading https://pypi.python.org/simple/appscript/
Best match: appscript 1.0.1
Downloading https://pypi.python.org/packages/source/a/appscript/appscript-1.0.1.
tar.gz#md5=6447b3bef966613bb5ddaedfe32c4558
Processing appscript-1.0.1.tar.gz
Writing c:\users\michael\appdata\local\temp\easy_install-zjymfh\appscript-1.0.1\
setup.cfg
Running appscript-1.0.1\setup.py -q bdist_egg --dist-dir c:\users\michael\appdat
a\local\temp\easy_install-zjymfh\appscript-1.0.1\egg-dist-tmp-ngrmwe
ae.c
c:\users\michael\appdata\local\temp\easy_install-zjymfh\appscript-1.0.1\appscrip
t_2x\ext\aetoolbox.h(17) : fatal error C1083: Cannot open include file: 'Carbon/
Carbon.h': No such file or directory
error: Setup script exited with error: command '"C:\Program Files (x86)\Microsof
t Visual Studio 9.0\VC\BIN\cl.exe"' failed with exit status 2

I get the same error when using pip and am at a loss as to why it is happening.

在使用pip时,我得到了相同的错误,并且对于为什么会发生这种情况,我感到不知所措。

Does anybody know what might be causing it?

有人知道是什么引起的吗?

1 个解决方案

#1


1  

If you look at the package on pypi, it for mac os only:

如果你看看pypi上的包,它只适用于mac os:

VLC (Mac OS) Python wrapper

There are a couple of other options:

还有一些其他的选择:

vlc-python

vlc-python

Or vlc.py from wiki.videolan.org

或vlc。py从wiki.videolan.org

#1


1  

If you look at the package on pypi, it for mac os only:

如果你看看pypi上的包,它只适用于mac os:

VLC (Mac OS) Python wrapper

There are a couple of other options:

还有一些其他的选择:

vlc-python

vlc-python

Or vlc.py from wiki.videolan.org

或vlc。py从wiki.videolan.org