Installation could be tricky on Ubuntu 18.04, here is a possibile solution to this error:
============================================================================
* The following required packages can not be built:
* freetype, png * Try installing freetype with `apt-
* get install libfreetype6-dev` * Try installing png
* with `apt-get install libpng12-dev`
============================================================================
* The following required packages can not be built:
* freetype * Try installing freetype with `apt-get
* install libfreetype6-dev`
In file included from src/ft2font.cpp:9:0:
src/mplutils.h:31:10: fatal error: Python.h: No such file or directory
#include <Python.h>
^~~~~~~~~~
compilation terminated.
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
----------------------------------------
File "scipy/linalg/setup.py", line 19, in configuration
raise NotFoundError('no lapack/blas resources found')
numpy.distutils.system_info.NotFoundError: no lapack/blas resources found
Installation could be tricky on Ubuntu 18.04, here is a possibile solution to this error:
First install the following:
Then one error is still there:
Do the following
Now you may get this error:
to fix it install python dev:
You may find now another (!) error:
To get rid of it try
At this point, unfortunately I have
scipy
compilation error, I cannot get rid of so far, here it is the full error log.