-
Notifications
You must be signed in to change notification settings - Fork 348
Description
Hello,
I tried to install blocks on top of an anaconda distribution and ran into trouble. I am using Mac OSX Yosemite.
- I installed a fresh anaconda distribution:
bash Anaconda2-2.5.0-MacOSX-x86_64.sh - I installed blocks:
pip install git+git://github.com/mila-udem/blocks.git@stable -r https://raw.githubusercontent.com/mila-udem/blocks/stable/requirements.txt
The installer requires numpy 1.9.3 and anaconda currently ships with 1.10.4. So the installer attempted to remove 1.10.4:
Found existing installation: numpy 1.10.4
DEPRECATION: Uninstalling a distutils installed project (numpy) 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 numpy-1.10.4:
Successfully uninstalled numpy-1.10.4
It then installed 1.9.3 and this broke a variety of things. In particular, I could not import theano without errors about the numpy version (which I don't seem to have saved).
I was able to fix this by forking blocks and changing the requirements file to use numpy 1.10.4. If I then repeated my two step installation procedure above (this time pointing to my blocks), everything worked.
I can submit a pull request with the updated numpy version, but I don't know if this breaks some other subtle thing. Either way I wanted to point this out in case someone else came across it.
Thanks!