Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions support/setup/environment.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,10 @@ detect_environments() {
fi

if [ "a${CONDA_DEFAULT_ENV}" != "a" ] ; then
ENV_TYPE="conda"
ENV_NAME="${CONDA_DEFAULT_ENV}"
if [ "a${CONDA_DEFAULT_ENV}" != "abase" ] ; then
ENV_TYPE="conda"
ENV_NAME="${CONDA_DEFAULT_ENV}"
fi
fi
}

Expand Down
9 changes: 7 additions & 2 deletions support/setup/help.sh
Original file line number Diff line number Diff line change
Expand Up @@ -104,8 +104,9 @@ print_environment_step() {

To install any packages, you need to create and activate a Conda environment
or a Python virtualenv. If you have an environment into which you'd like to
install AMUSE, you should activate it now. To create a new Conda environment,
use
install AMUSE, then you should activate it now.

To create a new Conda environment, use

conda create --channel conda-forge --override-channels -n Amuse-env

Expand All @@ -115,6 +116,10 @@ Then you activate it using

You can name the environment anything you like instead of my-amuse-env.

Note that installing packages other than conda itself in the (base) environment
is not supported by conda, and this installer will refuse to do so. Please make
a specific conda environment for your project as described above.

To create a Python virtualenv, use

python3 -m venv venv
Expand Down
Loading