[LAD] Favorite Python3 equivalent of PyJack?

Matthias Geier matthias.geier at gmail.com
Thu Apr 21 08:14:21 UTC 2016


Hello Chris.

On Wed, Apr 20, 2016 at 5:10 PM, Christopher Arndt wrote:
> Am 20.04.2016 um 13:50 schrieb Matthias Geier:
>> I'm probably biased (because I'm its author), but I like this one:
>> http://jackclient-python.rtfd.org/
>
> Thanks for the link. Not sure, if I had this project already on the radar.

Well now you have!

> From the documentation:
>
> "Installing NumPy with pip is not recommended."
>
> Why do you write that? I have had no problems installing Numpy numerous
> times with pip (on Linux). Are you referring to a system-wide
> installation of Numpy? I usually use a virtualenv for every project
> anyway, and Numpy installs into virtualenv without problems.

I don't say it's impossible, I'm just not recommending it.
And mainly, I'm directing this to Python-newbies, advanced Python
users will already know how they prefer to install NumPy and they will
ignore my recommendation anyway.

Those are the reasons for my recommendation:

* installing (including compiling) with pip will take *much* longer
than installing it with apt-get or conda or <binary packet manager of
your choice>.

* compiling NumPy need loads of third-party (non-Python) libraries,
which need to be installed beforehand. If some libraries are not
available, they might be replaced by other, less efficient ones during
compilation. I trust that the Debian people (and the Anaconda people
as well) took the time to choose the proper dependencies and that all
of those are compiled with appropriate flags. If you want to use
hand-tuned compilation settings, you are free to do that, but I guess
a newbie shouldn't be bothered with that.

* Everybody should do "apt-get upgrade" (or equivalent) regularly,
which will keep NumPy up-to-date. That's much more tedious with pip.

I know only one disadvantage:

* The pip version of NumPy might be more recent than a
Debian/conda/... binary package. But I guess that's not really a
problem for a newbie, either.

Does this sound reasonable?
Did I miss anything?

If it turns out that there is a real disadvantage for newbies there,
I'll of course change my recommendation.

cheers,
Matthias


More information about the Linux-audio-dev mailing list