From 685168fa3dea9ecfd43f7dd968a8f96e6123496a Mon Sep 17 00:00:00 2001 From: Matt Johnson Date: Mon, 18 Mar 2024 13:28:27 -0700 Subject: [PATCH] DROP ME debugging rmgpy import from julia --- .conda/build.sh | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/.conda/build.sh b/.conda/build.sh index 383fe842ec..7fdb83f66c 100644 --- a/.conda/build.sh +++ b/.conda/build.sh @@ -23,7 +23,23 @@ fi make install export PYTHON=$PREFIX/bin/python export PYTHONPATH=$SRC_DIR:$PYTHONPATH +echo "testing rmgpy" +python -c "from rmgpy.molecule import Molecule" + +echo "pythonpath" +echo $PYTHONPATH +echo "python" +echo $PYTHON + + python -c "import julia; julia.install(); import diffeqpy; diffeqpy.install()" +echo "current python" +which python +echo "julia python" +julia -e "using PyCall; println(PyCall.PYTHONHOME)" +echo "retest rmgpy" +python -c "from rmgpy.molecule import Molecule" + julia -e 'using Pkg; Pkg.add(PackageSpec(name="ReactionMechanismSimulator",rev="main")); using ReactionMechanismSimulator' set +x