我正在尝试安装端口音频,因为我的代码(使用pyaudio和speechrecognition)说要首先构建和安装端口音频绑定。无论如何,当我说pip install port audio时,它是这样说的: ERROR: Command errored out with exit status 1:
command: 'c:\users\stewa\appdata\local\programs\python\python38-32\python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0]
我最近把一些很慢的python代码转换成了一个C扩展。它工作得很好,除了它在第一次调用它的时候生成了一个段错误,就在return语句中。static PyObject *grm_loadDosage(PyObject *self, PyObject *args) { Load the dosage matrix into global memory
Global variables: DOSAGES_PYMAT - will be a pointer