This question is a bit outside the direct scope of BigJob, but I only use
virtualenv for that purpose so I'm posting it here.
I'm trying to load additional python packages for use with my BigJob
script, specifically netCDF4. However, there is apparently a known bug
with using pip in this case:
=== begin snippet ===
> pip install netCDF4
...
HDF5_DIR environment variable not set, checking some standard locations ..
Traceback (most recent call last):
File "<string>", line 16, in <module>
File "/home/radakb/.bigjob/python/build/netCDF4/setup.py", line 114, in
<module>
raise ValueError('did not find HDF5 headers')
ValueError: did not find HDF5 headers
=== end snippet ===
I guess this is a problem with setup.py and compile time dependency on
numpy (I just googled "pip install netCDF4" and found a bunch of messages
boards about it).
I assume that I have to install this in some other way, but I have pretty
much zero experience with compiling libraries manually as I can usually
just use "module load" or what have you. Doesn't virtualenv add an extra
layer of complexity to this as well? What's the best way to go about this?
Brian
============================================ Current Address ============
Brian Radak : Rutgers University
PhD candidate - York Research Group : BioMaPS Institute
University of Minnesota - Twin Cities : CIPR 308
Graduate Program in Chemical Physics : 174 Frelinghuysen Road,
Department of Chemistry : Piscataway, NJ 08854
rada...@umn.edu :
rad...@biomaps.rutgers.edu
=======================================================================
Sorry for the multiple e-mail addresses, just use the institute
appropriate address.