Skip to content

How to include maap.py package in custom environment for DPS jobs? #802

Answered by sujen1412
arojas314 asked this question in Q&A
Discussion options

You must be logged in to vote

I think there is an issue in your clone command that specifies ${basedir}. Its trying to overwrite it. Try the following

# source activate base
basedir=$( cd "$(dirname "$0")" ; pwd -P)
echo installing environment...
mamba env create -f ${basedir}/environment.yml

# Install the maap.py environment
source activate custom-env
pushd $basedir
git clone --single-branch --branch v3.0.1 https://github.com/MAAP-Project/maap-py.git
cd maap-py
pip install -e .

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@sujen1412
Comment options

Answer selected by wildintellect
@sujen1412
Comment options

@arojas314
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants