【问题标题】:Installing aubio Python 3.6.3安装奥比奥 Python 3.6.3
【发布时间】:2018-05-22 05:06:39
【问题描述】:

我正在尝试在 64 位 Windows 10 上将 aubio 包安装到 Python

问题似乎是我无法制造轮子。

我得到一个对话框说"the program can't start because mspdb140.dll is missing from your computer. Try reinstalling the program to fix this problem."

不完全确定它甚至指的是哪个程序......

我已经下载了 Visual C++ 14.0aubio zip 文件,我认为这些文件告诉我我需要:我已经尝试安装 pip 并已下载 Visual C++ 14.0 和 aubio zip 文件,这是我认为我需要的。

这是我得到的最终错误代码:

Command "C:\Users\danci\Anaconda3\python.exe -u -c "import setuptools, 
tokenize;__file__='C:\\Users\\danci\\AppData\\Local\\Temp\\pip-build-
d5772nkl\\aubio\\setup.py';f=getattr(tokenize, 'open', open)
(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, 
__file__, 'exec'))" install --record C:\Users\danci\AppData\Local\Temp\pip-
z8g1pk58-record\install-record.txt --single-version-externally-managed --
compile" failed with error code 1 in C:\Users\danci\AppData\Local\Temp\pip-
build-d5772nkl\aubio\

另外,大约安装到一半时,我得到了这个:

File "C:\Users\danci\AppData\Local\Temp\pip-build-
d5772nkl\aubio\python\lib\gen_external.py", line 108, in get_c_declarations
  raise Exception("preprocessor output is empty:\n%s" % err_output)
Exception: preprocessor output is empty:
b''

----------------------------------------
Failed building wheel for aubio

谢谢。

【问题讨论】:

    标签: python pip installation python-wheel aubio


    【解决方案1】:

    您的设置似乎缺少某些内容。要在 Windows 上编译 python 扩展,您将需要用于构建 python 二进制文件的编译器。

    查看有关 windows 编译器的页面以找出要使用的正确版本:https://wiki.python.org/moin/WindowsCompilers

    【讨论】:

    • 你的意思是 Visual C++ 14.0 for 64-bit windows,对吧?我已经下载了那个。编辑帖子说“visual c++”不仅仅是“c++”。
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2016-06-23
    • 1970-01-01
    • 1970-01-01
    • 2019-01-21
    • 2018-08-28
    • 1970-01-01
    相关资源
    最近更新 更多