Hello. After installing numpy etc., I tried to run a unit test.
$ python --version
Python 2.7.11
$ pip install nose
$ python -c "import numpy; print numpy.__version__; numpy.test()"
..................................
----------------------------------------------------------------------
Ran 5931 tests in 22.598s
OK (KNOWNFAIL=5, SKIP=8)
$ python -c "import scipy; print scipy.__version__; scipy.test()"
..................................
$ python -c "import matplotlib; print matplotlib.__version__; matplotlib.test()"
..................................
print numpy.__version__Part may not be needed, but python 3.In x, print(numpy.__version__)Please change to.
```console
$ pip3 install nose
$ python3 -c "import numpy; print(numpy.__version__); numpy.test()"
$ python3 -c "import scipy; print(scipy.__version__); scipy.test()"
$ python3 -c "import matplotlib; print(matplotlib.__version__); matplotlib.test()"
Recommended Posts