Open caio96 opened 5 years ago
Doing this would hardcode thus breaking compatibility with virtual environments. It looks to me like your python/anaconda environment is wrongly setup. From the AUR package I see that probably you need to run source /opt/anaconda/bin/deactivate root
before running the equalizer. Perhaps you have added anaconda to the environment variables? If so, that's wrong, you should use a virtual environment instead.
System: Manjaro xfce. I'm a user of anaconda, so when a run
/usr/bin/pulseaudio-equalizer-gtk
it tries to use anaconda's python and it fails because it doesn't have the correct dependencies installed.Changing
#!/usr/bin/env python3
for#!/usr/bin/python3
did the trick.It should translate to a change in
bin/pulseaudio-equalizer-gtk.in
:#!/usr/bin/env python@python_major_ver@
for#!/usr/bin/python@python_major_ver@
I don't know if there is any need to use
env
but this is my suggestion.