pip - Cannot install netCDF4 python package on OS X -
i'm trying install netcdf4 on os x pip install netcdf4
, getting following error:
------------------------------------------------------------ /usr/local/bin/pip run on wed aug 7 23:02:37 2013 downloading/unpacking netcdf4 running setup.py egg_info package netcdf4 hdf5_dir environment variable not set, checking standard locations .. checking /users/mc ... checking /usr/local ... checking /sw ... checking /opt ... checking /opt/local ... checking /usr ... traceback (most recent call last): file "<string>", line 16, in <module> file "/var/folders/jj/0w0dd3n16jq4g5579g6c7h040000gn/t/pip-build/netcdf4/setup.py", line 114, in <module> raise valueerror('did not find hdf5 headers') valueerror: did not find hdf5 headers complete output command python setup.py egg_info: hdf5_dir environment variable not set, checking standard locations .. checking /users/mc ... checking /usr/local ... checking /sw ... checking /opt ... checking /opt/local ... checking /usr ... traceback (most recent call last): file "<string>", line 16, in <module> file "/var/folders/jj/0w0dd3n16jq4g5579g6c7h040000gn/t/pip-build/netcdf4/setup.py", line 114, in <module> raise valueerror('did not find hdf5 headers') valueerror: did not find hdf5 headers ---------------------------------------- command python setup.py egg_info failed error code 1 in /var/folders/jj/0w0dd3n16jq4g5579g6c7h040000gn/t/pip-build/netcdf4 exception information: traceback (most recent call last): file "/usr/local/cellar/python/2.7.3/frameworks/python.framework/versions/2.7/lib/python2.7/site-packages/pip-1.2.1-py2.7.egg/pip/basecommand.py", line 107, in main status = self.run(options, args) file "/usr/local/cellar/python/2.7.3/frameworks/python.framework/versions/2.7/lib/python2.7/site-packages/pip-1.2.1-py2.7.egg/pip/commands/install.py", line 256, in run requirement_set.prepare_files(finder, force_root_egg_info=self.bundle, bundle=self.bundle) file "/usr/local/cellar/python/2.7.3/frameworks/python.framework/versions/2.7/lib/python2.7/site-packages/pip-1.2.1-py2.7.egg/pip/req.py", line 1042, in prepare_files req_to_install.run_egg_info() file "/usr/local/cellar/python/2.7.3/frameworks/python.framework/versions/2.7/lib/python2.7/site-packages/pip-1.2.1-py2.7.egg/pip/req.py", line 236, in run_egg_info command_desc='python setup.py egg_info') file "/usr/local/cellar/python/2.7.3/frameworks/python.framework/versions/2.7/lib/python2.7/site-packages/pip-1.2.1-py2.7.egg/pip/util.py", line 612, in call_subprocess % (command_desc, proc.returncode, cwd)) installationerror: command python setup.py egg_info failed error code 1 in /var/folders/jj/0w0dd3n16jq4g5579g6c7h040000gn/t/pip-build/netcdf4
i installed hdf5
/usr/local/hdf5/
i'm still getting same error. i'm new python appreciated.
thank you.
i have been using these instruction install netcdf4-python on os x. need go far step 6. , virtual environments quite nice.
Comments
Post a Comment