5 ms·
Is there a reason that the dependencies are not installed via the pip call for ggplot? I ask this out of ignorance, not trying to be facetious.
by dkroy 13y ago
Is there a reason that the dependencies are not installed via the pip call for ggplot? I ask this out of ignorance, not trying to be facetious.
- gh02t 13y agoAt times numpy/scipy/matplotlib have proven pretty troublesome to install with pip. I think they have it working now, but it's still not 100% reliable.
- jofer 13y agoThe main problem is that they have system library dependencies that pip doesn't handle.
- andrewryno 13y agoI think all you need is build-essentials and python-dev.
- spiffworks 13y agoNope, numpy needs libblas and scipy needs libatlas, both of which have to installed from the system package manager. I slap my forehead every time I move to a new system and find that the pip install in the virtualenv failed.
- jofer 13y agoMatplotlib depends on freetype, libpng, and libjpeg as well. Numpy can be built without any external dependencies, but it will be a very slow installation. You're better off with an accelerated BLAS library (e.g. ATLAS/MKL/etc) and some sort of LAPACK library. Some of numpy's functionality also needs a fortran compiler to build. At any rate, there are other system dependencies beyond a basic compiler and the header files for python.
- andrewryno 13y agoAh I think the reason why I didn't think I needed BLAS/LAPACK is because I install R on the server first which installs those as shared libraries.
- dman 13y agoThis is why you use debian / ubuntu.
- hadley 13y agoSomething like 70% of R users are on windows.
- dman 13y agoIts 2013 - Microsoft needs to bite the bullet and start shipping a C/C++ compiler as part of windows :)
- scott_s 13y agoIt doesn't come with, but Visual Studio Express has been free for a while: http://www.microsoft.com/visualstudio/eng/downloads#d-2012-express http://www.microsoft.com/visualstudio/eng/downloads#d-2012-e...
- dman 13y agoI write a couple of python c extensions - it would be nice if you could assume your users would be able to compile the extensions out of the box without expecting them to go install another piece of software.
- ojii 13y agoSame goes for OS X, having to install a multi GB IDE to get gcc is ridiculous.
- primelens 13y agoI do have XCode, but I am wondering if I could have just installed gcc with macports since they seem to have it.
- ivoflipse 13y agoFor a more painless install try Continuum's Anaconda or Enthought's Canopy. They bundle together the most important scientific libraries, work cross-platform and in this case include all dependencies.
- dkroy 13y agoWow, I just checked these out. Thanks for pointing me in this direction.
- glamp 13y agoit's on the todo list. i was hesitant to put all of them in the dependencies list since not all are pip installable (all of the time)