Вопрос

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

Это было полезно?

Решение

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__

Другие советы

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

Google says the site

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

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top