Pregunta

I seem to be having problems with installed packages. I need to know which version is installed pylab in my python 2.7.

The pylab module is in the following path (I have installed anaconda): ..../anaconda/lib/python2.7/site-packages/IPython/core/magics/pylab.py

¿Fue útil?

Solución

As was mentioned by Ted Kim, "Matplotlib is the whole package; pylab is a module in matplotlib"

The version for matplotlib can be quired through:

import matplotlib
print matplotlib.__version__

Otros consejos

Matplotlib is the whole package; pylab is a module in matplotlib.

Google says the site

http://matplotlib.org/faq/troubleshooting_faq.html

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top