致命错误 C1083:无法打开包含文件:'Carbon/ Carbon.h':没有这样的文件或目录
fatal error C1083: Cannot open include file: 'Carbon/ Carbon.h': No such file or directory
我在尝试安装 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
还有几个其他选项:
我在尝试安装 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
还有几个其他选项: