mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
Use the correct conda os arch for mac x64
This commit is contained in:
parent
11dc3ca1f8
commit
9a3c7800a7
@ -78,6 +78,7 @@ CONDA_BASEPATH=$(conda info --base)
|
|||||||
source "$CONDA_BASEPATH/etc/profile.d/conda.sh" # otherwise conda complains about 'shell not initialized' (needed when running in a script)
|
source "$CONDA_BASEPATH/etc/profile.d/conda.sh" # otherwise conda complains about 'shell not initialized' (needed when running in a script)
|
||||||
|
|
||||||
if [ "$OS_NAME" == "mac" ]; then
|
if [ "$OS_NAME" == "mac" ]; then
|
||||||
|
if [ "$OS_ARCH" == "x64" ]; then OS_ARCH="64"; fi
|
||||||
PIP_EXISTS_ACTION=w CONDA_SUBDIR=osx-${OS_ARCH} conda env create -f environment-mac.yml
|
PIP_EXISTS_ACTION=w CONDA_SUBDIR=osx-${OS_ARCH} conda env create -f environment-mac.yml
|
||||||
else
|
else
|
||||||
conda env create -f environment.yml
|
conda env create -f environment.yml
|
||||||
|
Loading…
Reference in New Issue
Block a user