我从 GitHub 下载了 .zip 文件,这样我就可以使用最新版本,但是当我尝试运行 时./pulseeffects
,它一直显示找不到的模块。numpy 是我使用 pip 安装的第一个模块。现在它找不到 scipy,所以我尝试以相同的方式安装它,但没有效果。如果这有区别的话,我正在运行 Ubuntu GNOME 17.04。
No protocol specified
Unable to init server: Could not connect: Connection refused
No protocol specified
Unable to init server: Could not connect: Connection refused
Traceback (most recent call last):
File "./pulseeffects", line 4, in <module>
from PulseEffects.application import Application
File "/home/amolith/Downloads/Programs/pulseeffects-master/PulseEffects/application.py", line 18, in <module>
from PulseEffects.sink_input_effects import SinkInputEffects
File "/home/amolith/Downloads/Programs/pulseeffects-master/PulseEffects/sink_input_effects.py", line 7, in <module>
from scipy.interpolate import CubicSpline
ImportError: No module named 'scipy'
答案1
仔细阅读github上的README.MD文件,有几个依赖项:
Required libraries:
Python 3
Python configparser (Python versions higher than 3.5.0 come with it. There is no need to install a separate package)
PyGobject 3
Python Cairo
Python Numpy
Python Scipy (0.18 or above)
Gtk 3.18 or above
Gstreamer, Gstreamer Plugins Good, Gstreamer Plugins Bad and Gstreamer Python (Since version 1.4.3 Pulseeffects needs Gstreamer 1.12 or above)
swh-plugins from Ladspa