Fix install dependencies

- Use install_requires instead of requires, otherwise pip ignores it
- pylab is a non-existent package (use matplotlib instead)
- curses is part of the Python standard library (no need to install)
- Add h5py