maet3608 / nuts-ml

Flow-based data pre-processing for deep learning
Other
31 stars 10 forks source link

Issue running on OS X 10.11.6 with Anaconda #9

Closed dbl001 closed 7 years ago

dbl001 commented 7 years ago

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.

David-Laxers-MacBook-Pro:~ davidlaxer$ pip install nutsml
Collecting nutsml
  Downloading nutsml-1.0.19-py2-none-any.whl (1.1MB)
    100% |████████████████████████████████| 1.1MB 274kB/s 
Requirement already satisfied: pandas>=0.18.1 in ./anaconda/lib/python2.7/site-packages (from nutsml)
Requirement already satisfied: scipy>=0.17.0 in ./anaconda/lib/python2.7/site-packages (from nutsml)
Requirement already satisfied: matplotlib>=1.5.1 in ./anaconda/lib/python2.7/site-packages (from nutsml)
Collecting pyyaml>=3.12 (from nutsml)
  Downloading PyYAML-3.12.tar.gz (253kB)
    100% |████████████████████████████████| 256kB 659kB/s 
Collecting xlrd>=1.0.0 (from nutsml)
  Downloading xlrd-1.0.0.tar.gz (2.6MB)
    100% |████████████████████████████████| 2.6MB 149kB/s 
Collecting dplython>=0.0.7 (from nutsml)
  Downloading dplython-0.0.7.tar.gz (715kB)
    100% |████████████████████████████████| 716kB 437kB/s 
Requirement already satisfied: six>=1.10.0 in ./anaconda/lib/python2.7/site-packages (from nutsml)
Collecting nutsflow>=1.0.14 (from nutsml)
  Downloading nutsflow-1.0.14-py2-none-any.whl
Requirement already satisfied: pillow>=3.0.0 in ./anaconda/lib/python2.7/site-packages (from nutsml)
Requirement already satisfied: scikit-image>=0.12.3 in ./anaconda/lib/python2.7/site-packages (from nutsml)
Collecting pytest>=3.0.3 (from nutsml)
  Downloading pytest-3.1.1-py2.py3-none-any.whl (179kB)
    100% |████████████████████████████████| 184kB 843kB/s 
Requirement already satisfied: numpy>=1.11.1 in ./anaconda/lib/python2.7/site-packages (from nutsml)
Requirement already satisfied: pytz>=2011k in ./anaconda/lib/python2.7/site-packages (from pandas>=0.18.1->nutsml)
Requirement already satisfied: python-dateutil in ./anaconda/lib/python2.7/site-packages (from pandas>=0.18.1->nutsml)
Requirement already satisfied: cycler>=0.10 in ./anaconda/lib/python2.7/site-packages (from matplotlib>=1.5.1->nutsml)
Requirement already satisfied: pyparsing!=2.0.0,!=2.0.4,!=2.1.2,!=2.1.6,>=1.5.6 in ./anaconda/lib/python2.7/site-packages (from matplotlib>=1.5.1->nutsml)
Requirement already satisfied: subprocess32 in ./anaconda/lib/python2.7/site-packages (from matplotlib>=1.5.1->nutsml)
Requirement already satisfied: functools32 in ./anaconda/lib/python2.7/site-packages (from matplotlib>=1.5.1->nutsml)
Requirement already satisfied: olefile in ./anaconda/lib/python2.7/site-packages (from pillow>=3.0.0->nutsml)
Requirement already satisfied: networkx>=1.8 in ./anaconda/lib/python2.7/site-packages (from scikit-image>=0.12.3->nutsml)
Requirement already satisfied: dask[array]>=0.5.0 in ./anaconda/lib/python2.7/site-packages (from scikit-image>=0.12.3->nutsml)
Collecting py>=1.4.29 (from pytest>=3.0.3->nutsml)
  Downloading py-1.4.33-py2.py3-none-any.whl (83kB)
    100% |████████████████████████████████| 92kB 1.6MB/s 
Requirement already satisfied: setuptools in ./anaconda/lib/python2.7/site-packages (from pytest>=3.0.3->nutsml)
Requirement already satisfied: toolz>=0.7.2 in ./anaconda/lib/python2.7/site-packages (from dask[array]>=0.5.0->scikit-image>=0.12.3->nutsml)
Requirement already satisfied: appdirs>=1.4.0 in ./anaconda/lib/python2.7/site-packages (from setuptools->pytest>=3.0.3->nutsml)
Requirement already satisfied: packaging>=16.8 in ./anaconda/lib/python2.7/site-packages (from setuptools->pytest>=3.0.3->nutsml)
Building wheels for collected packages: pyyaml, xlrd, dplython
  Running setup.py bdist_wheel for pyyaml ... done
  Stored in directory: /Users/davidlaxer/Library/Caches/pip/wheels/2c/f7/79/13f3a12cd723892437c0cfbde1230ab4d82947ff7b3839a4fc
  Running setup.py bdist_wheel for xlrd ... done
  Stored in directory: /Users/davidlaxer/Library/Caches/pip/wheels/40/d4/6c/df6603e86ef3183ba2ecc97c5c3f1bf92802d54aa939522235
  Running setup.py bdist_wheel for dplython ... done
  Stored in directory: /Users/davidlaxer/Library/Caches/pip/wheels/dd/50/ba/1ff1d4b5dd4c5939da18da3efcb7d94c70cb9d331e8db773d5
Successfully built pyyaml xlrd dplython
Installing collected packages: pyyaml, xlrd, dplython, py, pytest, nutsflow, nutsml
  Found existing installation: PyYAML 3.11
    DEPRECATION: Uninstalling a distutils installed project (pyyaml) has been deprecated and will be removed in a future version. This is due to the fact that uninstalling a distutils project will only partially uninstall the project.
    Uninstalling PyYAML-3.11:
      Successfully uninstalled PyYAML-3.11
  Found existing installation: xlrd 0.9.3
    DEPRECATION: Uninstalling a distutils installed project (xlrd) has been deprecated and will be removed in a future version. This is due to the fact that uninstalling a distutils project will only partially uninstall the project.
    Uninstalling xlrd-0.9.3:
      Successfully uninstalled xlrd-0.9.3
  Found existing installation: py 1.4.27
    Uninstalling py-1.4.27:
      Successfully uninstalled py-1.4.27
  Found existing installation: pytest 2.7.1
    Uninstalling pytest-2.7.1:
      Successfully uninstalled pytest-2.7.1
Successfully installed dplython-0.0.7 nutsflow-1.0.14 nutsml-1.0.19 py-1.4.33 pytest-3.1.1 pyyaml-3.12 xlrd-1.0.0
David-Laxers-MacBook-Pro:~ davidlaxer$ pwd
/Users/davidlaxer
David-Laxers-MacBook-Pro:~ davidlaxer$ git clone https://github.com/maet3608/nuts-ml.git
Cloning into 'nuts-ml'...
remote: Counting objects: 3313, done.
remote: Compressing objects: 100% (922/922), done.
sutReceiving objects:  31% (1043/3313), 4.82 MiB | 1010.00 KiB/s   
remote: Total 3313 (delta 2244), reused 3313 (delta 2244), pack-reused 0
Receiving objects: 100% (3313/3313), 26.79 MiB | 977.00 KiB/s, done.
Resolving deltas: 100% (2244/2244), done.
David-Laxers-MacBook-Pro:~ davidlaxer$ cd nuts-ml/
David-Laxers-MacBook-Pro:nuts-ml davidlaxer$ python setup.py install
Traceback (most recent call last):
  File "setup.py", line 5, in <module>
    import nutsml
  File "/Users/davidlaxer/nuts-ml/nutsml/__init__.py", line 9, in <module>
    from nutsml.plotter import PlotLines
  File "/Users/davidlaxer/nuts-ml/nutsml/plotter.py", line 8, in <module>
    import matplotlib.pyplot as plt
  File "/Users/davidlaxer/anaconda/lib/python2.7/site-packages/matplotlib/pyplot.py", line 115, in <module>
    _backend_mod, new_figure_manager, draw_if_interactive, _show = pylab_setup()
  File "/Users/davidlaxer/anaconda/lib/python2.7/site-packages/matplotlib/backends/__init__.py", line 32, in pylab_setup
    globals(),locals(),[backend_name],0)
  File "/Users/davidlaxer/anaconda/lib/python2.7/site-packages/matplotlib/backends/backend_macosx.py", line 19, in <module>
    from matplotlib.backends import _macosx
RuntimeError: Python is not installed as a framework. The Mac OS X backend will not be able to function correctly if Python is not installed as a framework. See the Python documentation for more information on installing Python as a framework on Mac OS X. Please either reinstall Python as a framework, or try one of the other backends. If you are using (Ana)Conda please install python.app and replace the use of 'python' with 'pythonw'. See 'Working with Matplotlib on OSX' in the Matplotlib FAQ for more information.
David-Laxers-MacBook-Pro:nuts-ml davidlaxer$ python
Python 2.7.11 |Anaconda custom (x86_64)| (default, Dec  6 2015, 18:57:58) 
[GCC 4.2.1 (Apple Inc. build 5577)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
Anaconda is brought to you by Continuum Analytics.
Please check out: http://continuum.io/thanks and https://anaconda.org
>>> quit
Use quit() or Ctrl-D (i.e. EOF) to exit
>>> 
David-Laxers-MacBook-Pro:nuts-ml davidlaxer$ ipython 
Python 2.7.11 |Anaconda custom (x86_64)| (default, Dec  6 2015, 18:57:58) 
Type "copyright", "credits" or "license" for more information.

IPython 5.3.0 -- An enhanced Interactive Python.
?         -> Introduction and overview of IPython's features.
%quickref -> Quick reference.
help      -> Python's own help system.
object?   -> Details about 'object', use 'object??' for extra details.

In [1]: import nuts-ml
  File "<ipython-input-1-1522a71e241c>", line 1
    import nuts-ml
               ^
SyntaxError: invalid syntax

In [2]: import nutsml
---------------------------------------------------------------------------
RuntimeError                              Traceback (most recent call last)
<ipython-input-2-851da473b9fb> in <module>()
----> 1 import nutsml

/Users/davidlaxer/nuts-ml/nutsml/__init__.py in <module>()
      7 from nutsml.logger import LogToFile, LogCols
      8 from nutsml.network import Network, KerasNetwork, LasagneNetwork
----> 9 from nutsml.plotter import PlotLines
     10 from nutsml.reader import DplyToList, ReadImage, ReadLabelDirs, ReadPandas
     11 from nutsml.transformer import (TransformImage, AugmentImage, ImageMean,

/Users/davidlaxer/nuts-ml/nutsml/plotter.py in <module>()
      6 
      7 import itertools as itt
----> 8 import matplotlib.pyplot as plt
      9 
     10 from nutsflow import NutFunction

/Users/davidlaxer/anaconda/lib/python2.7/site-packages/matplotlib/pyplot.py in <module>()
    113 
    114 from matplotlib.backends import pylab_setup
--> 115 _backend_mod, new_figure_manager, draw_if_interactive, _show = pylab_setup()
    116 
    117 _IP_REGISTERED = None

/Users/davidlaxer/anaconda/lib/python2.7/site-packages/matplotlib/backends/__init__.pyc in pylab_setup()
     30     # imports. 0 means only perform absolute imports.
     31     backend_mod = __import__(backend_name,
---> 32                              globals(),locals(),[backend_name],0)
     33 
     34     # Things we pull in from all backends

/Users/davidlaxer/anaconda/lib/python2.7/site-packages/matplotlib/backends/backend_macosx.py in <module>()
     17 
     18 import matplotlib
---> 19 from matplotlib.backends import _macosx
     20 
     21 from .backend_agg import RendererAgg, FigureCanvasAgg

RuntimeError: Python is not installed as a framework. The Mac OS X backend will not be able to function correctly if Python is not installed as a framework. See the Python documentation for more information on installing Python as a framework on Mac OS X. Please either reinstall Python as a framework, or try one of the other backends. If you are using (Ana)Conda please install python.app and replace the use of 'python' with 'pythonw'. See 'Working with Matplotlib on OSX' in the Matplotlib FAQ for more information.

In [3]: quit()
David-Laxers-MacBook-Pro:nuts-ml davidlaxer$ pip install nutsflow
Requirement already satisfied: nutsflow in /Users/davidlaxer/anaconda/lib/python2.7/site-packages
Requirement already satisfied: six>=1.10.0 in /Users/davidlaxer/anaconda/lib/python2.7/site-packages (from nutsflow)
Requirement already satisfied: pytest>=3.0.3 in /Users/davidlaxer/anaconda/lib/python2.7/site-packages (from nutsflow)
Requirement already satisfied: py>=1.4.29 in /Users/davidlaxer/anaconda/lib/python2.7/site-packages (from pytest>=3.0.3->nutsflow)
Requirement already satisfied: setuptools in /Users/davidlaxer/anaconda/lib/python2.7/site-packages (from pytest>=3.0.3->nutsflow)
Requirement already satisfied: appdirs>=1.4.0 in /Users/davidlaxer/anaconda/lib/python2.7/site-packages (from setuptools->pytest>=3.0.3->nutsflow)
Requirement already satisfied: packaging>=16.8 in /Users/davidlaxer/anaconda/lib/python2.7/site-packages (from setuptools->pytest>=3.0.3->nutsflow)
Requirement already satisfied: pyparsing in /Users/davidlaxer/anaconda/lib/python2.7/site-packages (from packaging>=16.8->setuptools->pytest>=3.0.3->nutsflow)
dbl001 commented 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$