mila-iqia / fuel

A data pipeline framework for machine learning
MIT License
867 stars 268 forks source link

Install on windows failing w/ python35 #267

Open aluo-x opened 9 years ago

aluo-x commented 9 years ago

Using the pip install git command, it fails with the following output:

running install
running bdist_egg
running egg_info
creating fuel.egg-info
writing fuel.egg-info\PKG-INFO
writing requirements to fuel.egg-info\requires.txt
writing entry points to fuel.egg-info\entry_points.txt
writing top-level names to fuel.egg-info\top_level.txt
writing dependency_links to fuel.egg-info\dependency_links.txt
writing manifest file 'fuel.egg-info\SOURCES.txt'
reading manifest file 'fuel.egg-info\SOURCES.txt'
writing manifest file 'fuel.egg-info\SOURCES.txt'
installing library code to build\bdist.win-amd64\egg
running install_lib
running build_py
creating build
creating build\lib.win-amd64-3.5
creating build\lib.win-amd64-3.5\doctests
copying doctests\__init__.py -> build\lib.win-amd64-3.5\doctests
creating build\lib.win-amd64-3.5\fuel
copying fuel\config_parser.py -> build\lib.win-amd64-3.5\fuel
copying fuel\exceptions.py -> build\lib.win-amd64-3.5\fuel
copying fuel\iterator.py -> build\lib.win-amd64-3.5\fuel
copying fuel\schemes.py -> build\lib.win-amd64-3.5\fuel
copying fuel\server.py -> build\lib.win-amd64-3.5\fuel
copying fuel\streams.py -> build\lib.win-amd64-3.5\fuel
copying fuel\utils.py -> build\lib.win-amd64-3.5\fuel
copying fuel\version.py -> build\lib.win-amd64-3.5\fuel
copying fuel\__init__.py -> build\lib.win-amd64-3.5\fuel
creating build\lib.win-amd64-3.5\fuel\bin
copying fuel\bin\fuel_convert.py -> build\lib.win-amd64-3.5\fuel\bin
copying fuel\bin\fuel_download.py -> build\lib.win-amd64-3.5\fuel\bin
copying fuel\bin\fuel_info.py -> build\lib.win-amd64-3.5\fuel\bin
copying fuel\bin\__init__.py -> build\lib.win-amd64-3.5\fuel\bin
creating build\lib.win-amd64-3.5\fuel\converters
copying fuel\converters\adult.py -> build\lib.win-amd64-3.5\fuel\converters
copying fuel\converters\base.py -> build\lib.win-amd64-3.5\fuel\converters
copying fuel\converters\binarized_mnist.py -> build\lib.win-amd64-3.5\fuel\converters
copying fuel\converters\caltech101_silhouettes.py -> build\lib.win-amd64-3.5\fuel\converters
copying fuel\converters\cifar10.py -> build\lib.win-amd64-3.5\fuel\converters
copying fuel\converters\cifar100.py -> build\lib.win-amd64-3.5\fuel\converters
copying fuel\converters\iris.py -> build\lib.win-amd64-3.5\fuel\converters
copying fuel\converters\mnist.py -> build\lib.win-amd64-3.5\fuel\converters
copying fuel\converters\svhn.py -> build\lib.win-amd64-3.5\fuel\converters
copying fuel\converters\__init__.py -> build\lib.win-amd64-3.5\fuel\converters
creating build\lib.win-amd64-3.5\fuel\datasets
copying fuel\datasets\adult.py -> build\lib.win-amd64-3.5\fuel\datasets
copying fuel\datasets\base.py -> build\lib.win-amd64-3.5\fuel\datasets
copying fuel\datasets\billion.py -> build\lib.win-amd64-3.5\fuel\datasets
copying fuel\datasets\binarized_mnist.py -> build\lib.win-amd64-3.5\fuel\datasets
copying fuel\datasets\caltech101_silhouettes.py -> build\lib.win-amd64-3.5\fuel\datasets
copying fuel\datasets\cifar10.py -> build\lib.win-amd64-3.5\fuel\datasets
copying fuel\datasets\cifar100.py -> build\lib.win-amd64-3.5\fuel\datasets
copying fuel\datasets\hdf5.py -> build\lib.win-amd64-3.5\fuel\datasets
copying fuel\datasets\iris.py -> build\lib.win-amd64-3.5\fuel\datasets
copying fuel\datasets\mnist.py -> build\lib.win-amd64-3.5\fuel\datasets
copying fuel\datasets\svhn.py -> build\lib.win-amd64-3.5\fuel\datasets
copying fuel\datasets\text.py -> build\lib.win-amd64-3.5\fuel\datasets
copying fuel\datasets\toy.py -> build\lib.win-amd64-3.5\fuel\datasets
copying fuel\datasets\__init__.py -> build\lib.win-amd64-3.5\fuel\datasets
creating build\lib.win-amd64-3.5\fuel\downloaders
copying fuel\downloaders\adult.py -> build\lib.win-amd64-3.5\fuel\downloaders
copying fuel\downloaders\base.py -> build\lib.win-amd64-3.5\fuel\downloaders
copying fuel\downloaders\binarized_mnist.py -> build\lib.win-amd64-3.5\fuel\downloaders
copying fuel\downloaders\caltech101_silhouettes.py -> build\lib.win-amd64-3.5\fuel\downloaders
copying fuel\downloaders\cifar10.py -> build\lib.win-amd64-3.5\fuel\downloaders
copying fuel\downloaders\cifar100.py -> build\lib.win-amd64-3.5\fuel\downloaders
copying fuel\downloaders\iris.py -> build\lib.win-amd64-3.5\fuel\downloaders
copying fuel\downloaders\mnist.py -> build\lib.win-amd64-3.5\fuel\downloaders
copying fuel\downloaders\svhn.py -> build\lib.win-amd64-3.5\fuel\downloaders
copying fuel\downloaders\__init__.py -> build\lib.win-amd64-3.5\fuel\downloaders
creating build\lib.win-amd64-3.5\fuel\transformers
copying fuel\transformers\defaults.py -> build\lib.win-amd64-3.5\fuel\transformers
copying fuel\transformers\image.py -> build\lib.win-amd64-3.5\fuel\transformers
copying fuel\transformers\text.py -> build\lib.win-amd64-3.5\fuel\transformers
copying fuel\transformers\__init__.py -> build\lib.win-amd64-3.5\fuel\transformers
creating build\lib.win-amd64-3.5\tests
creating build\lib.win-amd64-3.5\tests\transformers
copying tests\transformers\test_image.py -> build\lib.win-amd64-3.5\tests\transformers
copying tests\transformers\test_transformers.py -> build\lib.win-amd64-3.5\tests\transformers
copying tests\transformers\__init__.py -> build\lib.win-amd64-3.5\tests\transformers
running build_ext
building 'fuel.transformers._image' extension
error: [WinError 2] The system cannot find the file specified
dwf commented 9 years ago

That is the only part of fuel that is compiled. Do you have Cython installed? The dependencies should take care of it.

bartvm commented 9 years ago

https://bugs.python.org/issue21821

aluo-x commented 9 years ago

Running

pip list

results in the following output:

Cython (0.23.4)
h5py (2.5.0)
numexpr (2.4.5)
numpy (1.10.1)
picklable-itertools (0.1.1)
Pillow (3.0.0)
pip (7.1.2)
progressbar2 (3.3.0)
PyYAML (3.11)
pyzmq (14.7.0)
requests (2.8.1)
scipy (0.16.1)
setuptools (18.5)
setuptools-git (1.1)
six (1.10.0)
sympy (0.7.6.1)
tables (3.2.2)
Theano (0.7.0)
toolz (0.7.4)

Trying the work around by PierreAugier also did not work. Platform is Windows 10 64bit.