Repo with files trying to generate one virtual Python environment that can import every PyHC package.
pyhc-requirements.txt
: All the package versions that the PyHC packages requirepyhc-packages-requirements.txt
: The PyHC packagesimport-test.py
: A script that runs import statements for the PyHC packages before printing a success messagepip install -r pyhc-requirements.txt
pip install -r pyhc-packages-requirements.txt
python3 import-test.py
It's failing on trying to get SpacePy to load the CDF C library
Install CDF C library (see: https://spacepy.github.io/pycdf.html / https://spacepy.github.io/install_mac.html#install-mac-cdf)
import ocbpy
in import-test.py
because it now works!"FileNotFoundError: CMake not available"
Install CMake?
brew install cmake
Similar to how Kamodo-CCMC has a few test lines to verify the installation:
from kamodo import Kamodo
k = Kamodo()
import kamodo_ccmc.flythrough.model_wrapper as MW
MW.Model_Variables('OpenGGCM_GM')
We should make a test file that has similar lines for ALL packages.