Pergunta

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

Foi útil?

Solução

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__

Outras dicas

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

Google says the site

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

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top