mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
set environment file for conda update
This commit is contained in:
parent
0f04bc5789
commit
e97515d045
@ -97,11 +97,13 @@ source "$CONDA_BASEPATH/etc/profile.d/conda.sh" # otherwise conda complains abou
|
||||
conda activate
|
||||
|
||||
if [ "$OS_NAME" == "mac" ]; then
|
||||
PIP_EXISTS_ACTION=w CONDA_SUBDIR=osx-${OS_ARCH} conda env update -f environment-mac.yml
|
||||
environment_file=environment-mac.yml
|
||||
else
|
||||
conda env update -f environment.yml
|
||||
environment_file=environment.yml
|
||||
fi
|
||||
|
||||
conda env update -f $environment_file
|
||||
|
||||
status=$?
|
||||
|
||||
if test $status -ne 0
|
||||
|
Loading…
Reference in New Issue
Block a user