gpt4 book ai didi

python - fatal error C1083 : Cannot open include file: 'Carbon/Carbon.h' : No such file or directory

转载 作者:太空宇宙 更新时间:2023-11-04 05:54:10 25 4
gpt4 key购买 nike

我在尝试安装 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 时遇到了同样的错误,我不知道为什么会这样。

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

最佳答案

如果您查看 package on pypi , 它仅适用于 mac os:

VLC (Mac OS) Python wrapper

还有几个其他选项:

vlc-python

vlc.py from wiki.videolan.org

关于python - fatal error C1083 : Cannot open include file: 'Carbon/Carbon.h' : No such file or directory,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/28658980/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com