You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I run "source activate rmg_env" on my MacBook Pro (2019) running macOS 10.15.2 Catalina, I'm getting:
/Users/mcninch/anaconda2/envs/rmg_env/etc/conda/activate.d/keras_activate.sh:2: = not found
My rmg ran fine before the OS update. I checked the entire path and it's fine, giving the shell script:
**#!/bin/bash
if [ "$(uname)" == "Darwin" ]
then
# for Mac OSX
export KERAS_BACKEND=tensorflow
elif [ "$(uname)" == "Linux" ]
then
# for Linux
export KERAS_BACKEND=theano
fi**
Ideas???
The text was updated successfully, but these errors were encountered:
This was also reported in keras-team/keras#9029 in January of 2018, with no responses. According to this StackOverflow comment, this script is part of how conda-forge packages keras. A similar error is reported in conda-forge/toolchain-feedstock#49, which points towards this being an issue with zsh, which became the default shell in MacOS Catalina.
If you prefer using zsh, there are some comments in the conda-forge issue about how to fix this error. Otherwise, I would suggest setting your default shell back to bash: How to change default shell in MacOS.
When I run "source activate rmg_env" on my MacBook Pro (2019) running macOS 10.15.2 Catalina, I'm getting:
/Users/mcninch/anaconda2/envs/rmg_env/etc/conda/activate.d/keras_activate.sh:2: = not found
My rmg ran fine before the OS update. I checked the entire path and it's fine, giving the shell script:
**#!/bin/bash
if [ "$(uname)" == "Darwin" ]
then
# for Mac OSX
export KERAS_BACKEND=tensorflow
elif [ "$(uname)" == "Linux" ]
then
# for Linux
export KERAS_BACKEND=theano
fi**
Ideas???
The text was updated successfully, but these errors were encountered: