Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issues with HDF5 Installation #5

Open
alvations opened this issue Oct 19, 2015 · 0 comments
Open

Issues with HDF5 Installation #5

alvations opened this issue Oct 19, 2015 · 0 comments

Comments

@alvations
Copy link
Contributor

If there's some problem things that happens when using/installing h5py and fuel, you could try to reinstall the h5py library, see http://stackoverflow.com/questions/33209048/installing-fuel-machine-learning-using-pip-on-ubuntu-14-04-02

For Ubuntu 14.04:

sudo apt-get install libhdf5-dev
sudo HDF5_DIR=/usr/lib/x86_64-linux-gnu/hdf5/serial/ pip install h5py
sudo pip install cython
sudo pip install git+git://github.com/mila-udem/fuel.git

For a complete installation of the tools that is used with dl4mt and MILA's summerschool2015, I was using these instructions for Ubuntu 14.04 (i tend to avoid conda, so there's only pip instructions):

# Install dependencies (mostly for cython and scikit-lern)
sudo apt-get install build-essential python-dev python-setuptools python-numpy python-scipy libatlas-dev libatlas3gf-base
sudo update-alternatives --set libblas.so.3 /usr/lib/atlas-base/atlas/libblas.so.3
sudo update-alternatives --set liblapack.so.3 /usr/lib/atlas-base/atlas/liblapack.so.3
sudo pip install cython

# Install plotting tools.
sudo apt-get install graphviz
sudo pip install pydot2
sudo pip install plotly # Not necessary but this can plot interactive graphs.
sudo apt-get install python-matplotlib # Also, not necessary but good to have

# Install Theano (Bleeding edge)
sudo apt-get install python-numpy python-scipy python-dev python-pip python-nose g++ libopenblas-dev git
sudo pip install git+git://github.com/Theano/Theano.git

# Install fuel from MILA (https://github.com/mila-udem/fuel)
sudo apt-get install libhdf5-dev
sudo HDF5_DIR=/usr/lib/x86_64-linux-gnu/hdf5/serial/ pip install h5py
sudo pip install git+git://github.com/mila-udem/fuel.git

# Installs Ipython Notebook
sudo apt-get install ipython3 ipython3-notebook

On top of the tool stack for the exercises, these might come in handy too:

# Install NLTK
sudo pip install git+git://github.com/nltk/nltk.git # Bleeding edge NLTK with translation tools

# Install Gensim
sudo pip install --upgrade gensim # Topic modelling and embeddings tool

# Install scikit-learn
sudo pip install scikit-learn
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant