致命错误 C1083:无法打开包含文件:'Carbon/Carbon.h':没有这样的文件或目录 [英] fatal error C1083: Cannot open include file: 'Carbon/ Carbon.h': No such file or directory

查看:90
本文介绍了致命错误 C1083:无法打开包含文件:'Carbon/Carbon.h':没有这样的文件或目录的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在尝试安装 libvlc 时遇到上述错误:

I'm getting the above error when trying to install 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

我在使用 pip 时遇到了同样的错误,我不知道为什么会这样.

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

有人知道是什么原因造成的吗?

Does anybody know what might be causing it?

推荐答案

如果您查看 pypi 上的 ,仅适用于 mac os:

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

VLC (Mac OS) Python wrapper

还有其他几个选项:

vlc-python

来自 wiki.videolan.org 的 vlc.py

这篇关于致命错误 C1083:无法打开包含文件:'Carbon/Carbon.h':没有这样的文件或目录的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆