python

Alternative to scipy and numpy for linear algebra?


Is there a good (small and light) alternative to numpy for python, to do linear algebra? I only need matrices (multiplication, addition), inverses, transposes and such.

Why?

I am tired of trying to install numpy/scipy - it is such a pita to get it to work - it never seems to install correctly (esp. since I have two machines, one linux and one windows): no matter what I do: compile it or install from pre-built binaries. How hard is it to make a "normal" installer that just works?


Solution

  • Have you ever tried anaconda? https://www.anaconda.com/download This should allow it to install those packages easily.

    conda install -c conda-forge scipy

    conda install -c conda-forge numpy

    Apart from offering you an easy way to install them in linux/mac/linux you will get virtualenviroments management too