Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign upIssue install torch-hdf5 on Mac os Sierra #83
Comments
This comment has been minimized.
This comment has been minimized.
I met the same issue when playing with https://github.com/karpathy/neuraltalk2. |
This comment has been minimized.
This comment has been minimized.
@tbornt Just test it. It works! Thxxxx! |
This comment has been minimized.
This comment has been minimized.
Should this change be also the repo? Maybe reopen the issue then? :) |
This comment has been minimized.
This comment has been minimized.
Thanks @tbornt ! |
This comment has been minimized.
This comment has been minimized.
I was having the same problem but none of the fixes worked for me. I'm on MacOS and I managed to fix it by downgrading my Command Line Tools to v7.2. |
This comment has been minimized.
This comment has been minimized.
I had exactly the same error as the original post, changing line 44 in ffi.lua as per @tbornt worked for me. |
I followed all the instructions to install hdf5 on the latest mac os Sierra. However, I cannot require 'hdf5' in torch successfully.

The error message showed as below. Any help?
/Users/cassiesu/torch/install/share/lua/5.1/trepl/init.lua:384: /Users/cassiesu/torch/install/share/lua/5.1/hdf5/ffi.lua:56: ')' expected near '_close' at line 1436