You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Purpose

I've started this page to keep track of how I'm trying to setup a fermitools development environment on my mac.

Setup
export PYTHON_VERSION=2.7
export FERMI_CONDA_ENV=fermitools-dev
export FERMI_CONDA_CHANNELS="-c conda-forge/label/cf201901 -c fermi"
export CONDA_CHANNELS="conda-forge"
conda create -y --name $FERMI_CONDA_ENV python=$PYTHON_VERSION
conda activate $FERMI_CONDA_ENV
conda install -y --name $FERMI_CONDA_ENV $FERMI_CONDA_CHANNELS -c $CONDA_CHANNELS --only-deps fermitools
conda install -y --name $FERMI_CONDA_ENV $FERMI_CONDA_CHANNELS -c $CONDA_CHANNELS fermi-repoman
repoman --remote-base https://github.com/fermi-lat checkout --force --develop ScienceTools FT_01-02-23_dev
git clone https://github.com/fermi-lat/Fermitools-conda.git 
 
Build
cd FT_01-02-23_dev
export PREFIX="$CONDA_PREFIX"
export CPU_COUNT=2
export condaname="fermitools"
export RECIPE_DIR="/Users/echarles/glast/releases/Fermitools-conda"
source ../Fermitools-conda/build.sh

(Where i commented out the like in build.sh that calls repoman to redo the checkout)

 

Results

This builds correctly, but fails when I try to import pyLikelihood

 

 

  • No labels