Martin MOKREJŠ
2015-04-27 20:56:33 UTC
Hi,
I use dev-python/matplotlib-1.4.3 and I suspect this is a recent regression in it. Can anybody reproduce this?
$ pychecker test.py
Processing module test (test.py)...
warning: couldn't find real module for class <class 'fftpack.error'> (module name: fftpack)
warning: couldn't find real module for class <class 'lapack_lite.LapackError'> (module name: lapack_lite)
warning: couldn't find real module for class <type 'mtrand.RandomState'> (module name: mtrand)
warning: couldn't find real module for class <type 'mtrand.RandomState'> (module name: mtrand)
ImportError: No module named _winreg
warning: couldn't find real module for class <type 'cntr.Cntr'> (module name: cntr)
Warnings...
test.py:3: Imported module (pylab) not used
$ cat test.py
#! /usr/bin/python
import pylab
$
It was installed with these flags on Gentoo Linux:
# emerge -pv matplotlib
These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild R ] dev-python/matplotlib-1.4.3::gentoo USE="cairo examples fltk gtk tk wxwidgets -doc -excel -gtk3 -latex -pyside -qt4 -qt5 {-test}" PYTHON_TARGETS="python2_7 -python3_3 -python3_4" 0 KiB
I use dev-python/pychecker-0.8.19-r1 for the code sanity checks.
http://pychecker.sourceforge.net/ http://pypi.python.org/pypi/PyChecker
Thank you for clues,
Martin
I use dev-python/matplotlib-1.4.3 and I suspect this is a recent regression in it. Can anybody reproduce this?
$ pychecker test.py
Processing module test (test.py)...
warning: couldn't find real module for class <class 'fftpack.error'> (module name: fftpack)
warning: couldn't find real module for class <class 'lapack_lite.LapackError'> (module name: lapack_lite)
warning: couldn't find real module for class <type 'mtrand.RandomState'> (module name: mtrand)
warning: couldn't find real module for class <type 'mtrand.RandomState'> (module name: mtrand)
ImportError: No module named _winreg
warning: couldn't find real module for class <type 'cntr.Cntr'> (module name: cntr)
Warnings...
test.py:3: Imported module (pylab) not used
$ cat test.py
#! /usr/bin/python
import pylab
$
It was installed with these flags on Gentoo Linux:
# emerge -pv matplotlib
These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild R ] dev-python/matplotlib-1.4.3::gentoo USE="cairo examples fltk gtk tk wxwidgets -doc -excel -gtk3 -latex -pyside -qt4 -qt5 {-test}" PYTHON_TARGETS="python2_7 -python3_3 -python3_4" 0 KiB
I use dev-python/pychecker-0.8.19-r1 for the code sanity checks.
http://pychecker.sourceforge.net/ http://pypi.python.org/pypi/PyChecker
Thank you for clues,
Martin