File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -30,8 +30,10 @@ detect_environments() {
3030 fi
3131
3232 if [ " a${CONDA_DEFAULT_ENV} " != " a" ] ; then
33- ENV_TYPE=" conda"
34- ENV_NAME=" ${CONDA_DEFAULT_ENV} "
33+ if [ " a${CONDA_DEFAULT_ENV} " != " abase" ] ; then
34+ ENV_TYPE=" conda"
35+ ENV_NAME=" ${CONDA_DEFAULT_ENV} "
36+ fi
3537 fi
3638}
3739
Original file line number Diff line number Diff line change @@ -104,8 +104,9 @@ print_environment_step() {
104104
105105To install any packages, you need to create and activate a Conda environment
106106or a Python virtualenv. If you have an environment into which you'd like to
107- install AMUSE, you should activate it now. To create a new Conda environment,
108- use
107+ install AMUSE, then you should activate it now.
108+
109+ To create a new Conda environment, use
109110
110111 conda create --channel conda-forge --override-channels -n Amuse-env
111112
@@ -115,6 +116,10 @@ Then you activate it using
115116
116117You can name the environment anything you like instead of my-amuse-env.
117118
119+ Note that installing packages other than conda itself in the (base) environment
120+ is not supported by conda, and this installer will refuse to do so. Please make
121+ a specific conda environment for your project as described above.
122+
118123To create a Python virtualenv, use
119124
120125 python3 -m venv venv
You can’t perform that action at this time.
0 commit comments