1.- Installing dependencies
apt-get update
apt-get install python-setuptools python-pip python-dev python-virtualenv libblas-dev liblapack-dev libatlas-base-dev gfortran libfreetype6-dev pkg-config
3.- Installing scipy, numpy, matplotlib
pip install scipy numpy
apt-get install python-matplotlib
4.- Testing
import numpy as np
import matplotlib.pyplot as plt
X = np.linspace(-np.pi, np.pi, 256, endpoint=True)
C, S = np.cos(X), np.sin(X)
plt.plot(X, C)
plt.plot(X, S)
plt.show()
Links:
Scipy Lectures
No hay comentarios:
Publicar un comentario