pyimod03_importers.py", line 540, in exec_moduleOSError: PortAudiolibrary not found
[213] Failed to execute script Run_SD 不幸的是,我不能简单地在机器上安装所需的portaudio,所以它需要包含在包中。我猜我实际上需要将portaudio库导入到我的python源代码中,对吗?对如何做
我尝试在R中使用以下声音包:sonify(iris, sonaes(time = Petal.Length, pitch = Petal.Width))Error in play.default(x, rate, ...) : no audio drivers are available(如果重要,请在Mac OS X Snow Leopard上使用。)
然而,每次我在Heroku中部署我的应用程序时,我都会收到这个错误: OSError: PortAudio library not found File "/app/.heroku.heroku/python/lib/python3.6/site-packages/sounddevice.py", line 71, in <module>
raise OSError('PortAudio
python setup.py installrunning buildrunning build_ext
building '_portaudioO2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.7 -c src/_portaudiomodule.c -o build/temp.linux-x860: note: this is the location of t
我使用的是Ubuntu10.10 x64中的PyAudio发行版(Python2.6.6)下的PyAudio。>>> pa = pyaudio.PyAudio() File "<pyshell#24>", line 1, in <module>
pa.get_default_input_device_i