Closed dbl001 closed 7 years ago
Contiuum Analytics found a solution for MacOS. Create a file ~/.matplotlib/matplotlibrc there and add the following line:
backend: TkAgg
David-Laxers-MacBook-Pro:nuts-ml davidlaxer$ vi ~/.matplotlib/matplotlibrc David-Laxers-MacBook-Pro:nuts-ml davidlaxer$ python setup.py install /Users/davidlaxer/anaconda/lib/python2.7/pkgutil.py:186: ImportWarning: Not importing directory '/Users/davidlaxer/anaconda/lib/python2.7/site-packages/google': missing init.py file, filename, etc = imp.find_module(subname, path) running install running bdist_egg running egg_info creating nutsml.egg-info writing requirements to nutsml.egg-info/requires.txt writing nutsml.egg-info/PKG-INFO writing top-level names to nutsml.egg-info/top_level.txt writing dependency_links to nutsml.egg-info/dependency_links.txt writing manifest file 'nutsml.egg-info/SOURCES.txt' reading manifest file 'nutsml.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'nutsml.egg-info/SOURCES.txt' installing library code to build/bdist.macosx-10.5-x86_64/egg running install_lib running build_py creating build creating build/lib creating build/lib/nutsml copying nutsml/init.py -> build/lib/nutsml copying nutsml/batcher.py -> build/lib/nutsml copying nutsml/booster.py -> build/lib/nutsml copying nutsml/common.py -> build/lib/nutsml copying nutsml/config.py -> build/lib/nutsml copying nutsml/datautil.py -> build/lib/nutsml copying nutsml/fileutil.py -> build/lib/nutsml copying nutsml/imageutil.py -> build/lib/nutsml copying nutsml/logger.py -> build/lib/nutsml copying nutsml/network.py -> build/lib/nutsml copying nutsml/plotter.py -> build/lib/nutsml copying nutsml/reader.py -> build/lib/nutsml copying nutsml/stratify.py -> build/lib/nutsml copying nutsml/transformer.py -> build/lib/nutsml copying nutsml/viewer.py -> build/lib/nutsml copying nutsml/writer.py -> build/lib/nutsml creating build/lib/tests copying tests/init.py -> build/lib/tests creating build/lib/nutsml/examples copying nutsml/examples/init.py -> build/lib/nutsml/examples creating build/lib/nutsml/examples/autoencoder copying nutsml/examples/autoencoder/init.py -> build/lib/nutsml/examples/autoencoder copying nutsml/examples/autoencoder/conv_autoencoder.py -> build/lib/nutsml/examples/autoencoder copying nutsml/examples/autoencoder/runner.py -> build/lib/nutsml/examples/autoencoder creating build/lib/nutsml/examples/cifar copying nutsml/examples/cifar/init.py -> build/lib/nutsml/examples/cifar copying nutsml/examples/cifar/cnn_classify.py -> build/lib/nutsml/examples/cifar copying nutsml/examples/cifar/cnn_train.py -> build/lib/nutsml/examples/cifar copying nutsml/examples/cifar/read_images.py -> build/lib/nutsml/examples/cifar copying nutsml/examples/cifar/view_augmented_images.py -> build/lib/nutsml/examples/cifar copying nutsml/examples/cifar/view_data.py -> build/lib/nutsml/examples/cifar copying nutsml/examples/cifar/view_train_images.py -> build/lib/nutsml/examples/cifar copying nutsml/examples/cifar/write_images.py -> build/lib/nutsml/examples/cifar creating build/lib/nutsml/examples/mnist copying nutsml/examples/mnist/init.py -> build/lib/nutsml/examples/mnist copying nutsml/examples/mnist/cnn_classify.py -> build/lib/nutsml/examples/mnist copying nutsml/examples/mnist/cnn_train.py -> build/lib/nutsml/examples/mnist copying nutsml/examples/mnist/mlp_classify.py -> build/lib/nutsml/examples/mnist copying nutsml/examples/mnist/mlp_train.py -> build/lib/nutsml/examples/mnist copying nutsml/examples/mnist/mlp_view_misclassified.py -> build/lib/nutsml/examples/mnist copying nutsml/examples/mnist/read_images.py -> build/lib/nutsml/examples/mnist copying nutsml/examples/mnist/view_train_images.py -> build/lib/nutsml/examples/mnist copying nutsml/examples/mnist/write_images.py -> build/lib/nutsml/examples/mnist creating build/lib/tests/nutsml copying tests/nutsml/init.py -> build/lib/tests/nutsml copying tests/nutsml/test_batcher.py -> build/lib/tests/nutsml copying tests/nutsml/test_booster.py -> build/lib/tests/nutsml copying tests/nutsml/test_common.py -> build/lib/tests/nutsml copying tests/nutsml/test_config.py -> build/lib/tests/nutsml copying tests/nutsml/test_datautil.py -> build/lib/tests/nutsml copying tests/nutsml/test_fileutil.py -> build/lib/tests/nutsml copying tests/nutsml/test_imageutil.py -> build/lib/tests/nutsml copying tests/nutsml/test_logger.py -> build/lib/tests/nutsml copying tests/nutsml/test_network.py -> build/lib/tests/nutsml copying tests/nutsml/test_reader.py -> build/lib/tests/nutsml copying tests/nutsml/test_stratify.py -> build/lib/tests/nutsml copying tests/nutsml/test_transformer.py -> build/lib/tests/nutsml copying tests/nutsml/test_viewer.py -> build/lib/tests/nutsml copying tests/nutsml/test_writer.py -> build/lib/tests/nutsml creating build/lib/tests/data copying tests/data/and.csv -> build/lib/tests/data copying tests/data/config.yaml -> build/lib/tests/data copying tests/data/pandas_table.csv -> build/lib/tests/data copying tests/data/pandas_table.tsv -> build/lib/tests/data copying tests/data/pandas_table.xlsx -> build/lib/tests/data creating build/lib/tests/data/img copying tests/data/img/nut_color.bmp -> build/lib/tests/data/img copying tests/data/img/nut_grayscale.bmp -> build/lib/tests/data/img creating build/lib/tests/data/img_arrays copying tests/data/img_arrays/nut_color.bmp.npy -> build/lib/tests/data/img_arrays copying tests/data/img_arrays/nut_color.gif.npy -> build/lib/tests/data/img_arrays copying tests/data/img_arrays/nut_color.jpg.npy -> build/lib/tests/data/img_arrays copying tests/data/img_arrays/nut_color.npy.npy -> build/lib/tests/data/img_arrays copying tests/data/img_arrays/nut_color.png.npy -> build/lib/tests/data/img_arrays copying tests/data/img_arrays/nut_color.tif.npy -> build/lib/tests/data/img_arrays copying tests/data/img_arrays/nut_grayscale.bmp.npy -> build/lib/tests/data/img_arrays copying tests/data/img_arrays/nut_grayscale.gif.npy -> build/lib/tests/data/img_arrays copying tests/data/img_arrays/nut_grayscale.jpg.npy -> build/lib/tests/data/img_arrays copying tests/data/img_arrays/nut_grayscale.npy.npy -> build/lib/tests/data/img_arrays copying tests/data/img_arrays/nut_grayscale.png.npy -> build/lib/tests/data/img_arrays copying tests/data/img_arrays/nut_grayscale.tif.npy -> build/lib/tests/data/img_arrays copying tests/data/img_arrays/nut_monochrome.bmp.npy -> build/lib/tests/data/img_arrays copying tests/data/img_arrays/nut_monochrome.gif.npy -> build/lib/tests/data/img_arrays copying tests/data/img_arrays/nut_monochrome.jpg.npy -> build/lib/tests/data/img_arrays copying tests/data/img_arrays/nut_monochrome.npy.npy -> build/lib/tests/data/img_arrays copying tests/data/img_arrays/nut_monochrome.png.npy -> build/lib/tests/data/img_arrays copying tests/data/img_arrays/nut_monochrome.tif.npy -> build/lib/tests/data/img_arrays creating build/lib/tests/data/img_formats copying tests/data/img_formats/nut_color.bmp -> build/lib/tests/data/img_formats copying tests/data/img_formats/nut_color.gif -> build/lib/tests/data/img_formats copying tests/data/img_formats/nut_color.jpg -> build/lib/tests/data/img_formats copying tests/data/img_formats/nut_color.npy -> build/lib/tests/data/img_formats copying tests/data/img_formats/nut_color.png -> build/lib/tests/data/img_formats copying tests/data/img_formats/nut_color.tif -> build/lib/tests/data/img_formats copying tests/data/img_formats/nut_grayscale.bmp -> build/lib/tests/data/img_formats copying tests/data/img_formats/nut_grayscale.gif -> build/lib/tests/data/img_formats copying tests/data/img_formats/nut_grayscale.jpg -> build/lib/tests/data/img_formats copying tests/data/img_formats/nut_grayscale.npy -> build/lib/tests/data/img_formats copying tests/data/img_formats/nut_grayscale.png -> build/lib/tests/data/img_formats copying tests/data/img_formats/nut_grayscale.tif -> build/lib/tests/data/img_formats copying tests/data/img_formats/nut_monochrome.bmp -> build/lib/tests/data/img_formats copying tests/data/img_formats/nut_monochrome.gif -> build/lib/tests/data/img_formats copying tests/data/img_formats/nut_monochrome.jpg -> build/lib/tests/data/img_formats copying tests/data/img_formats/nut_monochrome.npy -> build/lib/tests/data/img_formats copying tests/data/img_formats/nut_monochrome.png -> build/lib/tests/data/img_formats copying tests/data/img_formats/nut_monochrome.tif -> build/lib/tests/data/img_formats creating build/lib/tests/data/img_processed copying tests/data/img_processed/nut_color_2gray.bmp -> build/lib/tests/data/img_processed copying tests/data/img_processed/nut_color_brightness.bmp -> build/lib/tests/data/img_processed copying tests/data/img_processed/nut_color_color.bmp -> build/lib/tests/data/img_processed copying tests/data/img_processed/nut_color_contrast.bmp -> build/lib/tests/data/img_processed copying tests/data/img_processed/nut_color_normalize_histo.bmp -> build/lib/tests/data/img_processed copying tests/data/img_processed/nut_color_rotated.bmp -> build/lib/tests/data/img_processed copying tests/data/img_processed/nut_color_sharpness.bmp -> build/lib/tests/data/img_processed copying tests/data/img_processed/nut_color_sheared.bmp -> build/lib/tests/data/img_processed copying tests/data/img_processed/nut_color_translated.bmp -> build/lib/tests/data/img_processed copying tests/data/img_processed/nut_grayscale_2rgb.bmp -> build/lib/tests/data/img_processed creating build/lib/tests/data/labeldirs creating build/lib/tests/data/labeldirs/0 copying tests/data/labeldirs/0/test0.txt -> build/lib/tests/data/labeldirs/0 copying tests/data/labeldirs/0/test1.md -> build/lib/tests/data/labeldirs/0 creating build/lib/tests/data/labeldirs/1 copying tests/data/labeldirs/1/test1.txt -> build/lib/tests/data/labeldirs/1 copying tests/data/labeldirs/1/test11.txt -> build/lib/tests/data/labeldirs/1 creating build/bdist.macosx-10.5-x86_64 creating build/bdist.macosx-10.5-x86_64/egg creating build/bdist.macosx-10.5-x86_64/egg/nutsml copying build/lib/nutsml/init.py -> build/bdist.macosx-10.5-x86_64/egg/nutsml copying build/lib/nutsml/batcher.py -> build/bdist.macosx-10.5-x86_64/egg/nutsml copying build/lib/nutsml/booster.py -> build/bdist.macosx-10.5-x86_64/egg/nutsml copying build/lib/nutsml/common.py -> build/bdist.macosx-10.5-x86_64/egg/nutsml copying build/lib/nutsml/config.py -> build/bdist.macosx-10.5-x86_64/egg/nutsml copying build/lib/nutsml/datautil.py -> build/bdist.macosx-10.5-x86_64/egg/nutsml creating build/bdist.macosx-10.5-x86_64/egg/nutsml/examples copying build/lib/nutsml/examples/init.py -> build/bdist.macosx-10.5-x86_64/egg/nutsml/examples creating build/bdist.macosx-10.5-x86_64/egg/nutsml/examples/autoencoder copying build/lib/nutsml/examples/autoencoder/init.py -> build/bdist.macosx-10.5-x86_64/egg/nutsml/examples/autoencoder copying build/lib/nutsml/examples/autoencoder/conv_autoencoder.py -> build/bdist.macosx-10.5-x86_64/egg/nutsml/examples/autoencoder copying build/lib/nutsml/examples/autoencoder/runner.py -> build/bdist.macosx-10.5-x86_64/egg/nutsml/examples/autoencoder creating build/bdist.macosx-10.5-x86_64/egg/nutsml/examples/cifar copying build/lib/nutsml/examples/cifar/init.py -> build/bdist.macosx-10.5-x86_64/egg/nutsml/examples/cifar copying build/lib/nutsml/examples/cifar/cnn_classify.py -> build/bdist.macosx-10.5-x86_64/egg/nutsml/examples/cifar copying build/lib/nutsml/examples/cifar/cnn_train.py -> build/bdist.macosx-10.5-x86_64/egg/nutsml/examples/cifar copying build/lib/nutsml/examples/cifar/read_images.py -> build/bdist.macosx-10.5-x86_64/egg/nutsml/examples/cifar copying build/lib/nutsml/examples/cifar/view_augmented_images.py -> build/bdist.macosx-10.5-x86_64/egg/nutsml/examples/cifar copying build/lib/nutsml/examples/cifar/view_data.py -> build/bdist.macosx-10.5-x86_64/egg/nutsml/examples/cifar copying build/lib/nutsml/examples/cifar/view_train_images.py -> build/bdist.macosx-10.5-x86_64/egg/nutsml/examples/cifar copying build/lib/nutsml/examples/cifar/write_images.py -> build/bdist.macosx-10.5-x86_64/egg/nutsml/examples/cifar creating build/bdist.macosx-10.5-x86_64/egg/nutsml/examples/mnist copying build/lib/nutsml/examples/mnist/init.py -> build/bdist.macosx-10.5-x86_64/egg/nutsml/examples/mnist copying build/lib/nutsml/examples/mnist/cnn_classify.py -> build/bdist.macosx-10.5-x86_64/egg/nutsml/examples/mnist copying build/lib/nutsml/examples/mnist/cnn_train.py -> build/bdist.macosx-10.5-x86_64/egg/nutsml/examples/mnist copying build/lib/nutsml/examples/mnist/mlp_classify.py -> build/bdist.macosx-10.5-x86_64/egg/nutsml/examples/mnist copying build/lib/nutsml/examples/mnist/mlp_train.py -> build/bdist.macosx-10.5-x86_64/egg/nutsml/examples/mnist copying build/lib/nutsml/examples/mnist/mlp_view_misclassified.py -> build/bdist.macosx-10.5-x86_64/egg/nutsml/examples/mnist copying build/lib/nutsml/examples/mnist/read_images.py -> build/bdist.macosx-10.5-x86_64/egg/nutsml/examples/mnist copying build/lib/nutsml/examples/mnist/view_train_images.py -> build/bdist.macosx-10.5-x86_64/egg/nutsml/examples/mnist copying build/lib/nutsml/examples/mnist/write_images.py -> build/bdist.macosx-10.5-x86_64/egg/nutsml/examples/mnist copying build/lib/nutsml/fileutil.py -> build/bdist.macosx-10.5-x86_64/egg/nutsml copying build/lib/nutsml/imageutil.py -> build/bdist.macosx-10.5-x86_64/egg/nutsml copying build/lib/nutsml/logger.py -> build/bdist.macosx-10.5-x86_64/egg/nutsml copying build/lib/nutsml/network.py -> build/bdist.macosx-10.5-x86_64/egg/nutsml copying build/lib/nutsml/plotter.py -> build/bdist.macosx-10.5-x86_64/egg/nutsml copying build/lib/nutsml/reader.py -> build/bdist.macosx-10.5-x86_64/egg/nutsml copying build/lib/nutsml/stratify.py -> build/bdist.macosx-10.5-x86_64/egg/nutsml copying build/lib/nutsml/transformer.py -> build/bdist.macosx-10.5-x86_64/egg/nutsml copying build/lib/nutsml/viewer.py -> build/bdist.macosx-10.5-x86_64/egg/nutsml copying build/lib/nutsml/writer.py -> build/bdist.macosx-10.5-x86_64/egg/nutsml creating build/bdist.macosx-10.5-x86_64/egg/tests copying build/lib/tests/init.py -> build/bdist.macosx-10.5-x86_64/egg/tests creating build/bdist.macosx-10.5-x86_64/egg/tests/data copying build/lib/tests/data/and.csv -> build/bdist.macosx-10.5-x86_64/egg/tests/data copying build/lib/tests/data/config.yaml -> build/bdist.macosx-10.5-x86_64/egg/tests/data creating build/bdist.macosx-10.5-x86_64/egg/tests/data/img copying build/lib/tests/data/img/nut_color.bmp -> build/bdist.macosx-10.5-x86_64/egg/tests/data/img copying build/lib/tests/data/img/nut_grayscale.bmp -> build/bdist.macosx-10.5-x86_64/egg/tests/data/img creating build/bdist.macosx-10.5-x86_64/egg/tests/data/img_arrays copying build/lib/tests/data/img_arrays/nut_color.bmp.npy -> build/bdist.macosx-10.5-x86_64/egg/tests/data/img_arrays copying build/lib/tests/data/img_arrays/nut_color.gif.npy -> build/bdist.macosx-10.5-x86_64/egg/tests/data/img_arrays copying build/lib/tests/data/img_arrays/nut_color.jpg.npy -> build/bdist.macosx-10.5-x86_64/egg/tests/data/img_arrays copying build/lib/tests/data/img_arrays/nut_color.npy.npy -> build/bdist.macosx-10.5-x86_64/egg/tests/data/img_arrays copying build/lib/tests/data/img_arrays/nut_color.png.npy -> build/bdist.macosx-10.5-x86_64/egg/tests/data/img_arrays copying build/lib/tests/data/img_arrays/nut_color.tif.npy -> build/bdist.macosx-10.5-x86_64/egg/tests/data/img_arrays copying build/lib/tests/data/img_arrays/nut_grayscale.bmp.npy -> build/bdist.macosx-10.5-x86_64/egg/tests/data/img_arrays copying build/lib/tests/data/img_arrays/nut_grayscale.gif.npy -> build/bdist.macosx-10.5-x86_64/egg/tests/data/img_arrays copying build/lib/tests/data/img_arrays/nut_grayscale.jpg.npy -> build/bdist.macosx-10.5-x86_64/egg/tests/data/img_arrays copying build/lib/tests/data/img_arrays/nut_grayscale.npy.npy -> build/bdist.macosx-10.5-x86_64/egg/tests/data/img_arrays copying build/lib/tests/data/img_arrays/nut_grayscale.png.npy -> build/bdist.macosx-10.5-x86_64/egg/tests/data/img_arrays copying build/lib/tests/data/img_arrays/nut_grayscale.tif.npy -> build/bdist.macosx-10.5-x86_64/egg/tests/data/img_arrays copying build/lib/tests/data/img_arrays/nut_monochrome.bmp.npy -> build/bdist.macosx-10.5-x86_64/egg/tests/data/img_arrays copying build/lib/tests/data/img_arrays/nut_monochrome.gif.npy -> build/bdist.macosx-10.5-x86_64/egg/tests/data/img_arrays copying build/lib/tests/data/img_arrays/nut_monochrome.jpg.npy -> build/bdist.macosx-10.5-x86_64/egg/tests/data/img_arrays copying build/lib/tests/data/img_arrays/nut_monochrome.npy.npy -> build/bdist.macosx-10.5-x86_64/egg/tests/data/img_arrays copying build/lib/tests/data/img_arrays/nut_monochrome.png.npy -> build/bdist.macosx-10.5-x86_64/egg/tests/data/img_arrays copying build/lib/tests/data/img_arrays/nut_monochrome.tif.npy -> build/bdist.macosx-10.5-x86_64/egg/tests/data/img_arrays creating build/bdist.macosx-10.5-x86_64/egg/tests/data/img_formats copying build/lib/tests/data/img_formats/nut_color.bmp -> build/bdist.macosx-10.5-x86_64/egg/tests/data/img_formats copying build/lib/tests/data/img_formats/nut_color.gif -> build/bdist.macosx-10.5-x86_64/egg/tests/data/img_formats copying build/lib/tests/data/img_formats/nut_color.jpg -> build/bdist.macosx-10.5-x86_64/egg/tests/data/img_formats copying build/lib/tests/data/img_formats/nut_color.npy -> build/bdist.macosx-10.5-x86_64/egg/tests/data/img_formats copying build/lib/tests/data/img_formats/nut_color.png -> build/bdist.macosx-10.5-x86_64/egg/tests/data/img_formats copying build/lib/tests/data/img_formats/nut_color.tif -> build/bdist.macosx-10.5-x86_64/egg/tests/data/img_formats copying build/lib/tests/data/img_formats/nut_grayscale.bmp -> build/bdist.macosx-10.5-x86_64/egg/tests/data/img_formats copying build/lib/tests/data/img_formats/nut_grayscale.gif -> build/bdist.macosx-10.5-x86_64/egg/tests/data/img_formats copying build/lib/tests/data/img_formats/nut_grayscale.jpg -> build/bdist.macosx-10.5-x86_64/egg/tests/data/img_formats copying build/lib/tests/data/img_formats/nut_grayscale.npy -> build/bdist.macosx-10.5-x86_64/egg/tests/data/img_formats copying build/lib/tests/data/img_formats/nut_grayscale.png -> build/bdist.macosx-10.5-x86_64/egg/tests/data/img_formats copying build/lib/tests/data/img_formats/nut_grayscale.tif -> build/bdist.macosx-10.5-x86_64/egg/tests/data/img_formats copying build/lib/tests/data/img_formats/nut_monochrome.bmp -> build/bdist.macosx-10.5-x86_64/egg/tests/data/img_formats copying build/lib/tests/data/img_formats/nut_monochrome.gif -> build/bdist.macosx-10.5-x86_64/egg/tests/data/img_formats copying build/lib/tests/data/img_formats/nut_monochrome.jpg -> build/bdist.macosx-10.5-x86_64/egg/tests/data/img_formats copying build/lib/tests/data/img_formats/nut_monochrome.npy -> build/bdist.macosx-10.5-x86_64/egg/tests/data/img_formats copying build/lib/tests/data/img_formats/nut_monochrome.png -> build/bdist.macosx-10.5-x86_64/egg/tests/data/img_formats copying build/lib/tests/data/img_formats/nut_monochrome.tif -> build/bdist.macosx-10.5-x86_64/egg/tests/data/img_formats creating build/bdist.macosx-10.5-x86_64/egg/tests/data/img_processed copying build/lib/tests/data/img_processed/nut_color_2gray.bmp -> build/bdist.macosx-10.5-x86_64/egg/tests/data/img_processed copying build/lib/tests/data/img_processed/nut_color_brightness.bmp -> build/bdist.macosx-10.5-x86_64/egg/tests/data/img_processed copying build/lib/tests/data/img_processed/nut_color_color.bmp -> build/bdist.macosx-10.5-x86_64/egg/tests/data/img_processed copying build/lib/tests/data/img_processed/nut_color_contrast.bmp -> build/bdist.macosx-10.5-x86_64/egg/tests/data/img_processed copying build/lib/tests/data/img_processed/nut_color_normalize_histo.bmp -> build/bdist.macosx-10.5-x86_64/egg/tests/data/img_processed copying build/lib/tests/data/img_processed/nut_color_rotated.bmp -> build/bdist.macosx-10.5-x86_64/egg/tests/data/img_processed copying build/lib/tests/data/img_processed/nut_color_sharpness.bmp -> build/bdist.macosx-10.5-x86_64/egg/tests/data/img_processed copying build/lib/tests/data/img_processed/nut_color_sheared.bmp -> build/bdist.macosx-10.5-x86_64/egg/tests/data/img_processed copying build/lib/tests/data/img_processed/nut_color_translated.bmp -> build/bdist.macosx-10.5-x86_64/egg/tests/data/img_processed copying build/lib/tests/data/img_processed/nut_grayscale_2rgb.bmp -> build/bdist.macosx-10.5-x86_64/egg/tests/data/img_processed creating build/bdist.macosx-10.5-x86_64/egg/tests/data/labeldirs creating build/bdist.macosx-10.5-x86_64/egg/tests/data/labeldirs/0 copying build/lib/tests/data/labeldirs/0/test0.txt -> build/bdist.macosx-10.5-x86_64/egg/tests/data/labeldirs/0 copying build/lib/tests/data/labeldirs/0/test1.md -> build/bdist.macosx-10.5-x86_64/egg/tests/data/labeldirs/0 creating build/bdist.macosx-10.5-x86_64/egg/tests/data/labeldirs/1 copying build/lib/tests/data/labeldirs/1/test1.txt -> build/bdist.macosx-10.5-x86_64/egg/tests/data/labeldirs/1 copying build/lib/tests/data/labeldirs/1/test11.txt -> build/bdist.macosx-10.5-x86_64/egg/tests/data/labeldirs/1 copying build/lib/tests/data/pandas_table.csv -> build/bdist.macosx-10.5-x86_64/egg/tests/data copying build/lib/tests/data/pandas_table.tsv -> build/bdist.macosx-10.5-x86_64/egg/tests/data copying build/lib/tests/data/pandas_table.xlsx -> build/bdist.macosx-10.5-x86_64/egg/tests/data creating build/bdist.macosx-10.5-x86_64/egg/tests/nutsml copying build/lib/tests/nutsml/init.py -> build/bdist.macosx-10.5-x86_64/egg/tests/nutsml copying build/lib/tests/nutsml/test_batcher.py -> build/bdist.macosx-10.5-x86_64/egg/tests/nutsml copying build/lib/tests/nutsml/test_booster.py -> build/bdist.macosx-10.5-x86_64/egg/tests/nutsml copying build/lib/tests/nutsml/test_common.py -> build/bdist.macosx-10.5-x86_64/egg/tests/nutsml copying build/lib/tests/nutsml/test_config.py -> build/bdist.macosx-10.5-x86_64/egg/tests/nutsml copying build/lib/tests/nutsml/test_datautil.py -> build/bdist.macosx-10.5-x86_64/egg/tests/nutsml copying build/lib/tests/nutsml/test_fileutil.py -> build/bdist.macosx-10.5-x86_64/egg/tests/nutsml copying build/lib/tests/nutsml/test_imageutil.py -> build/bdist.macosx-10.5-x86_64/egg/tests/nutsml copying build/lib/tests/nutsml/test_logger.py -> build/bdist.macosx-10.5-x86_64/egg/tests/nutsml copying build/lib/tests/nutsml/test_network.py -> build/bdist.macosx-10.5-x86_64/egg/tests/nutsml copying build/lib/tests/nutsml/test_reader.py -> build/bdist.macosx-10.5-x86_64/egg/tests/nutsml copying build/lib/tests/nutsml/test_stratify.py -> build/bdist.macosx-10.5-x86_64/egg/tests/nutsml copying build/lib/tests/nutsml/test_transformer.py -> build/bdist.macosx-10.5-x86_64/egg/tests/nutsml copying build/lib/tests/nutsml/test_viewer.py -> build/bdist.macosx-10.5-x86_64/egg/tests/nutsml copying build/lib/tests/nutsml/test_writer.py -> build/bdist.macosx-10.5-x86_64/egg/tests/nutsml byte-compiling build/bdist.macosx-10.5-x86_64/egg/nutsml/init.py to init.pyc byte-compiling build/bdist.macosx-10.5-x86_64/egg/nutsml/batcher.py to batcher.pyc byte-compiling build/bdist.macosx-10.5-x86_64/egg/nutsml/booster.py to booster.pyc byte-compiling build/bdist.macosx-10.5-x86_64/egg/nutsml/common.py to common.pyc byte-compiling build/bdist.macosx-10.5-x86_64/egg/nutsml/config.py to config.pyc byte-compiling build/bdist.macosx-10.5-x86_64/egg/nutsml/datautil.py to datautil.pyc byte-compiling build/bdist.macosx-10.5-x86_64/egg/nutsml/examples/init.py to init.pyc byte-compiling build/bdist.macosx-10.5-x86_64/egg/nutsml/examples/autoencoder/init.py to init.pyc byte-compiling build/bdist.macosx-10.5-x86_64/egg/nutsml/examples/autoencoder/conv_autoencoder.py to conv_autoencoder.pyc byte-compiling build/bdist.macosx-10.5-x86_64/egg/nutsml/examples/autoencoder/runner.py to runner.pyc byte-compiling build/bdist.macosx-10.5-x86_64/egg/nutsml/examples/cifar/init.py to init.pyc byte-compiling build/bdist.macosx-10.5-x86_64/egg/nutsml/examples/cifar/cnn_classify.py to cnn_classify.pyc byte-compiling build/bdist.macosx-10.5-x86_64/egg/nutsml/examples/cifar/cnn_train.py to cnn_train.pyc byte-compiling build/bdist.macosx-10.5-x86_64/egg/nutsml/examples/cifar/read_images.py to read_images.pyc byte-compiling build/bdist.macosx-10.5-x86_64/egg/nutsml/examples/cifar/view_augmented_images.py to view_augmented_images.pyc byte-compiling build/bdist.macosx-10.5-x86_64/egg/nutsml/examples/cifar/view_data.py to view_data.pyc byte-compiling build/bdist.macosx-10.5-x86_64/egg/nutsml/examples/cifar/view_train_images.py to view_train_images.pyc byte-compiling build/bdist.macosx-10.5-x86_64/egg/nutsml/examples/cifar/write_images.py to write_images.pyc byte-compiling build/bdist.macosx-10.5-x86_64/egg/nutsml/examples/mnist/init.py to init.pyc byte-compiling build/bdist.macosx-10.5-x86_64/egg/nutsml/examples/mnist/cnn_classify.py to cnn_classify.pyc byte-compiling build/bdist.macosx-10.5-x86_64/egg/nutsml/examples/mnist/cnn_train.py to cnn_train.pyc byte-compiling build/bdist.macosx-10.5-x86_64/egg/nutsml/examples/mnist/mlp_classify.py to mlp_classify.pyc byte-compiling build/bdist.macosx-10.5-x86_64/egg/nutsml/examples/mnist/mlp_train.py to mlp_train.pyc byte-compiling build/bdist.macosx-10.5-x86_64/egg/nutsml/examples/mnist/mlp_view_misclassified.py to mlp_view_misclassified.pyc byte-compiling build/bdist.macosx-10.5-x86_64/egg/nutsml/examples/mnist/read_images.py to read_images.pyc byte-compiling build/bdist.macosx-10.5-x86_64/egg/nutsml/examples/mnist/view_train_images.py to view_train_images.pyc byte-compiling build/bdist.macosx-10.5-x86_64/egg/nutsml/examples/mnist/write_images.py to write_images.pyc byte-compiling build/bdist.macosx-10.5-x86_64/egg/nutsml/fileutil.py to fileutil.pyc byte-compiling build/bdist.macosx-10.5-x86_64/egg/nutsml/imageutil.py to imageutil.pyc byte-compiling build/bdist.macosx-10.5-x86_64/egg/nutsml/logger.py to logger.pyc byte-compiling build/bdist.macosx-10.5-x86_64/egg/nutsml/network.py to network.pyc byte-compiling build/bdist.macosx-10.5-x86_64/egg/nutsml/plotter.py to plotter.pyc byte-compiling build/bdist.macosx-10.5-x86_64/egg/nutsml/reader.py to reader.pyc byte-compiling build/bdist.macosx-10.5-x86_64/egg/nutsml/stratify.py to stratify.pyc byte-compiling build/bdist.macosx-10.5-x86_64/egg/nutsml/transformer.py to transformer.pyc byte-compiling build/bdist.macosx-10.5-x86_64/egg/nutsml/viewer.py to viewer.pyc byte-compiling build/bdist.macosx-10.5-x86_64/egg/nutsml/writer.py to writer.pyc byte-compiling build/bdist.macosx-10.5-x86_64/egg/tests/init.py to init.pyc byte-compiling build/bdist.macosx-10.5-x86_64/egg/tests/nutsml/init.py to init.pyc byte-compiling build/bdist.macosx-10.5-x86_64/egg/tests/nutsml/test_batcher.py to test_batcher.pyc byte-compiling build/bdist.macosx-10.5-x86_64/egg/tests/nutsml/test_booster.py to test_booster.pyc byte-compiling build/bdist.macosx-10.5-x86_64/egg/tests/nutsml/test_common.py to test_common.pyc byte-compiling build/bdist.macosx-10.5-x86_64/egg/tests/nutsml/test_config.py to test_config.pyc byte-compiling build/bdist.macosx-10.5-x86_64/egg/tests/nutsml/test_datautil.py to test_datautil.pyc byte-compiling build/bdist.macosx-10.5-x86_64/egg/tests/nutsml/test_fileutil.py to test_fileutil.pyc byte-compiling build/bdist.macosx-10.5-x86_64/egg/tests/nutsml/test_imageutil.py to test_imageutil.pyc byte-compiling build/bdist.macosx-10.5-x86_64/egg/tests/nutsml/test_logger.py to test_logger.pyc byte-compiling build/bdist.macosx-10.5-x86_64/egg/tests/nutsml/test_network.py to test_network.pyc byte-compiling build/bdist.macosx-10.5-x86_64/egg/tests/nutsml/test_reader.py to test_reader.pyc byte-compiling build/bdist.macosx-10.5-x86_64/egg/tests/nutsml/test_stratify.py to test_stratify.pyc byte-compiling build/bdist.macosx-10.5-x86_64/egg/tests/nutsml/test_transformer.py to test_transformer.pyc byte-compiling build/bdist.macosx-10.5-x86_64/egg/tests/nutsml/test_viewer.py to test_viewer.pyc byte-compiling build/bdist.macosx-10.5-x86_64/egg/tests/nutsml/test_writer.py to test_writer.pyc creating build/bdist.macosx-10.5-x86_64/egg/EGG-INFO copying nutsml.egg-info/PKG-INFO -> build/bdist.macosx-10.5-x86_64/egg/EGG-INFO copying nutsml.egg-info/SOURCES.txt -> build/bdist.macosx-10.5-x86_64/egg/EGG-INFO copying nutsml.egg-info/dependency_links.txt -> build/bdist.macosx-10.5-x86_64/egg/EGG-INFO copying nutsml.egg-info/requires.txt -> build/bdist.macosx-10.5-x86_64/egg/EGG-INFO copying nutsml.egg-info/top_level.txt -> build/bdist.macosx-10.5-x86_64/egg/EGG-INFO zip_safe flag not set; analyzing archive contents... creating dist creating 'dist/nutsml-1.0.20-py2.7.egg' and adding 'build/bdist.macosx-10.5-x86_64/egg' to it removing 'build/bdist.macosx-10.5-x86_64/egg' (and everything under it) Processing nutsml-1.0.20-py2.7.egg Copying nutsml-1.0.20-py2.7.egg to /Users/davidlaxer/anaconda/lib/python2.7/site-packages Adding nutsml 1.0.20 to easy-install.pth file
Installed /Users/davidlaxer/anaconda/lib/python2.7/site-packages/nutsml-1.0.20-py2.7.egg Processing dependencies for nutsml==1.0.20 Searching for future>=0.16.0 Reading https://pypi.python.org/simple/future/ Downloading https://pypi.python.org/packages/00/2b/8d082ddfed935f3608cc61140df6dcbf0edea1bc3ab52fb6c29ae3e81e85/future-0.16.0.tar.gz#md5=3e8e88a2bda48d54b1da7634d04760d7 Best match: future 0.16.0 Processing future-0.16.0.tar.gz Writing /var/folders/nj/nphdkhyj6s1dttb0pd9zb2wc0000gn/T/easy_install-T8MvuZ/future-0.16.0/setup.cfg Running future-0.16.0/setup.py -q bdist_egg --dist-dir /var/folders/nj/nphdkhyj6s1dttb0pd9zb2wc0000gn/T/easy_install-T8MvuZ/future-0.16.0/egg-dist-tmp-tsicCj warning: no files found matching '.au' under directory 'tests' warning: no files found matching '.gif' under directory 'tests' warning: no files found matching '*.txt' under directory 'tests' zip_safe flag not set; analyzing archive contents... future.backports.test.ssl_servers: module references file future.backports.test.support: module references file future.standard_library.init: module references file future.standard_library.init: module references path future.utils.init: module MAY be using inspect.stack past.builtins.misc: module MAY be using inspect.stack past.translation.init: module references file past.translation.init: module references path creating /Users/davidlaxer/anaconda/lib/python2.7/site-packages/future-0.16.0-py2.7.egg Extracting future-0.16.0-py2.7.egg to /Users/davidlaxer/anaconda/lib/python2.7/site-packages Adding future 0.16.0 to easy-install.pth file Installing pasteurize script to /Users/davidlaxer/anaconda/bin Installing futurize script to /Users/davidlaxer/anaconda/bin
Installed /Users/davidlaxer/anaconda/lib/python2.7/site-packages/future-0.16.0-py2.7.egg Searching for pytest==3.1.1 Best match: pytest 3.1.1 Adding pytest 3.1.1 to easy-install.pth file Installing pytest script to /Users/davidlaxer/anaconda/bin Installing py.test script to /Users/davidlaxer/anaconda/bin
Using /Users/davidlaxer/anaconda/lib/python2.7/site-packages Searching for pandas==0.19.1 Best match: pandas 0.19.1 Adding pandas 0.19.1 to easy-install.pth file
Using /Users/davidlaxer/anaconda/lib/python2.7/site-packages Searching for scikit-image==0.12.3 Best match: scikit-image 0.12.3 Adding scikit-image 0.12.3 to easy-install.pth file Installing skivi script to /Users/davidlaxer/anaconda/bin
Using /Users/davidlaxer/anaconda/lib/python2.7/site-packages Searching for Pillow==4.0.0 Best match: Pillow 4.0.0 Adding Pillow 4.0.0 to easy-install.pth file
Using /Users/davidlaxer/anaconda/lib/python2.7/site-packages Searching for scipy==0.19.0 Best match: scipy 0.19.0 Adding scipy 0.19.0 to easy-install.pth file
Using /Users/davidlaxer/anaconda/lib/python2.7/site-packages Searching for matplotlib==2.0.0 Best match: matplotlib 2.0.0 Adding matplotlib 2.0.0 to easy-install.pth file
Using /Users/davidlaxer/anaconda/lib/python2.7/site-packages Searching for numpy==1.11.2 Best match: numpy 1.11.2 Adding numpy 1.11.2 to easy-install.pth file
Using /Users/davidlaxer/anaconda/lib/python2.7/site-packages Searching for dplython==0.0.7 Best match: dplython 0.0.7 Adding dplython 0.0.7 to easy-install.pth file
Using /Users/davidlaxer/anaconda/lib/python2.7/site-packages Searching for xlrd==1.0.0 Best match: xlrd 1.0.0 Adding xlrd 1.0.0 to easy-install.pth file
Using /Users/davidlaxer/anaconda/lib/python2.7/site-packages Searching for PyYAML==3.12 Best match: PyYAML 3.12 Adding PyYAML 3.12 to easy-install.pth file
Using /Users/davidlaxer/anaconda/lib/python2.7/site-packages Searching for nutsflow==1.0.14 Best match: nutsflow 1.0.14 Adding nutsflow 1.0.14 to easy-install.pth file
Using /Users/davidlaxer/anaconda/lib/python2.7/site-packages Searching for setuptools==34.3.3 Best match: setuptools 34.3.3 Adding setuptools 34.3.3 to easy-install.pth file Installing easy_install script to /Users/davidlaxer/anaconda/bin Installing easy_install-3.6 script to /Users/davidlaxer/anaconda/bin
Using /Users/davidlaxer/anaconda/lib/python2.7/site-packages Searching for py==1.4.33 Best match: py 1.4.33 Adding py 1.4.33 to easy-install.pth file
Using /Users/davidlaxer/anaconda/lib/python2.7/site-packages Searching for python-dateutil==2.6.0 Best match: python-dateutil 2.6.0 Adding python-dateutil 2.6.0 to easy-install.pth file
Using /Users/davidlaxer/anaconda/lib/python2.7/site-packages Searching for pytz==2017.2 Best match: pytz 2017.2 Adding pytz 2017.2 to easy-install.pth file
Using /Users/davidlaxer/anaconda/lib/python2.7/site-packages Searching for dask==0.10.0 Best match: dask 0.10.0 Adding dask 0.10.0 to easy-install.pth file
Using /Users/davidlaxer/anaconda/lib/python2.7/site-packages Searching for networkx==1.9.1 Best match: networkx 1.9.1 Adding networkx 1.9.1 to easy-install.pth file
Using /Users/davidlaxer/anaconda/lib/python2.7/site-packages Searching for six==1.10.0 Best match: six 1.10.0 Adding six 1.10.0 to easy-install.pth file
Using /Users/davidlaxer/anaconda/lib/python2.7/site-packages Searching for olefile==0.44 Best match: olefile 0.44 Adding olefile 0.44 to easy-install.pth file
Using /Users/davidlaxer/anaconda/lib/python2.7/site-packages Searching for functools32==3.2.3.post2 Best match: functools32 3.2.3.post2 Adding functools32 3.2.3.post2 to easy-install.pth file
Using /Users/davidlaxer/anaconda/lib/python2.7/site-packages Searching for subprocess32==3.2.7 Best match: subprocess32 3.2.7 Adding subprocess32 3.2.7 to easy-install.pth file
Using /Users/davidlaxer/anaconda/lib/python2.7/site-packages Searching for pyparsing==2.2.0 Best match: pyparsing 2.2.0 Adding pyparsing 2.2.0 to easy-install.pth file
Using /Users/davidlaxer/anaconda/lib/python2.7/site-packages Searching for cycler==0.10.0 Best match: cycler 0.10.0 Adding cycler 0.10.0 to easy-install.pth file
Using /Users/davidlaxer/anaconda/lib/python2.7/site-packages Searching for packaging==16.8 Best match: packaging 16.8 Adding packaging 16.8 to easy-install.pth file
Using /Users/davidlaxer/anaconda/lib/python2.7/site-packages Searching for appdirs==1.4.3 Best match: appdirs 1.4.3 Adding appdirs 1.4.3 to easy-install.pth file
Using /Users/davidlaxer/anaconda/lib/python2.7/site-packages Searching for toolz==0.8.2 Best match: toolz 0.8.2 Processing toolz-0.8.2-py2.7.egg toolz 0.8.2 is already the active version in easy-install.pth
Using /Users/davidlaxer/anaconda/lib/python2.7/site-packages/toolz-0.8.2-py2.7.egg Finished processing dependencies for nutsml==1.0.20 David-Laxers-MacBook-Pro:nuts-ml davidlaxer$ pytest ============================= test session starts ============================== platform darwin -- Python 2.7.11, pytest-3.1.1, py-1.4.33, pluggy-0.4.0 rootdir: /Users/davidlaxer/nuts-ml, inifile: pytest.ini collected 171 items
nutsml/batcher.py ..... nutsml/common.py ... nutsml/config.py .. nutsml/datautil.py ....... nutsml/imageutil.py ................................ nutsml/logger.py . nutsml/network.py ssss nutsml/plotter.py . nutsml/reader.py s.... nutsml/stratify.py . nutsml/transformer.py .......... nutsml/viewer.py .. nutsml/writer.py . tests/nutsml/test_batcher.py ........ tests/nutsml/test_booster.py . tests/nutsml/test_common.py ...... tests/nutsml/test_config.py .. tests/nutsml/test_datautil.py ....... tests/nutsml/test_fileutil.py ........ tests/nutsml/test_imageutil.py ..........F...................... tests/nutsml/test_logger.py .... tests/nutsml/test_network.py ........ tests/nutsml/test_reader.py ...... tests/nutsml/test_stratify.py . tests/nutsml/test_transformer.py ........... tests/nutsml/test_viewer.py . tests/nutsml/test_writer.py .
=================================== FAILURES =================================== _ test_normalizehisto
datadirs = ('tests/data/img/', 'tests/data/img_formats/', 'tests/data/img_arrays/', 'tests/data/img_processed/')
def test_normalize_histo(datadirs):
imagedir, _, arraydir, processeddir = datadirs
img_arr = ni.load_image(imagedir + 'nut_color.bmp')
new_img = ni.normalize_histo(img_arr)
imagepath = processeddir + 'nut_color_normalize_histo.bmp'
assert_equal_image(imagepath, new_img)
tests/nutsml/test_imageutil.py:204:
imagepath = 'tests/data/img_processed/nut_color_normalize_histo.bmp' image = array([[[ 41, 44, 58], [ 41, 44, 58], [ 41, 44, 58], ...62, 162, 179], [162, 162, 179], [162, 162, 179]]], dtype=uint8)
def assert_equal_image(imagepath, image):
if CREATE_DATA:
ni.save_image(imagepath, image)
expected = ni.load_image(imagepath)
nt.assert_allclose(expected, image)
E AssertionError: E Not equal to tolerance rtol=1e-07, atol=0 E
E (mismatch 81.1737089202%) E x: array([[[ 40, 43, 58], E [ 40, 43, 58], E [ 40, 43, 58],... E y: array([[[ 41, 44, 58], E [ 41, 44, 58], E [ 41, 44, 58],...
tests/nutsml/test_imageutil.py:38: AssertionError =============================== warnings summary =============================== tests/nutsml/test_imageutil.py::test_normalize_histo /Users/davidlaxer/anaconda/lib/python2.7/site-packages/skimage/exposure/exposure.py:63: UserWarning: This might be a color image. The histogram will be computed on the flattened image. You can instead apply this function to each color channel. warn("This might be a color image. The histogram will be " /Users/davidlaxer/anaconda/lib/python2.7/site-packages/skimage/util/dtype.py:110: UserWarning: Possible precision loss when converting from float64 to uint16 "%s to %s" % (dtypeobj_in, dtypeobj))
tests/nutsml/test_imageutil.py::test_patch_iter /Users/davidlaxer/nuts-ml/nutsml/imageutil.py:612: UserWarning: image is not contiguous array warn('image is not contiguous array')
-- Docs: http://doc.pytest.org/en/latest/warnings.html ========= 1 failed, 165 passed, 5 skipped, 3 warnings in 18.86 seconds ========= David-Laxers-MacBook-Pro:nuts-ml davidlaxer$
I had issues installing nuts-ml from source on OS X 10.11.6 using Anaconda. It ran on properly on an AWS GPU Unbuntu 14.04LTS instance.
Here's the output from OS X.