Skip to content
standalone Python script to install SpacePy CDF library prerequisites.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

Build Status

SpacePy install script

SpacePy install procedure notes that several prereqs are required to get SpacePy installed. Note that if you just need CDF read/write capability, consider CDFlib, which is a pure Python CDF library.


downloads, compiles and installs NASA CDF library on Linux using:

  • Python ≥ 3.6
  • C compiler
  • Fortran complier (for FFnet)
  • GNU Make

and then installs SpacePy and verifies SpacePy can read a CDF file.


Unfortunately, the Makefiles for CDF are out of date and no longer work on current MacOS versions at least through CDF 3.7. We suggest using CDFlib in general for Python CDF read/write instead of SpacePy.

This shows the benefits of using a modern build system such as Meson instead of hand-crafted Makefiles.

You can’t perform that action at this time.