Skip to content

Instantly share code, notes, and snippets.

@dmentipl
Last active September 5, 2020 00:38
Show Gist options
  • Save dmentipl/a8eaddcee9755fd4b5a60128ae97e2b0 to your computer and use it in GitHub Desktop.
Save dmentipl/a8eaddcee9755fd4b5a60128ae97e2b0 to your computer and use it in GitHub Desktop.
Plonk tutorial for the 3rd Phantom + MCFOST users workshop, Monash University, Feb 25, 2020 -- https://phantomsph.bitbucket.io/workshop2020

This Plonk tutorial was written for Plonk v0.3.0. Parts may no longer work for later versions of Plonk. Please see the documentation at https://plonk.readthedocs.io/ for current documentation and examples.

Installing Plonk in a new conda environment

In general, I recommend setting conda-forge as the main channel from which to install all packages in all environments. The following commands will do this:

conda config --set channel_priority true
conda config --add channels conda-forge

Now, create a new conda environment to install Plonk in:

conda create --name myenv

The environment name is myenv. Feel free to change it as you like.

Now activate the environment:

conda activate myenv

You can install Plonk in the environment with:

conda install plonk

Don't forget that if you open a new terminal or launch Jupyter lab you must do it after activating the environment in which you installed Plonk.

Display the source blob
Display the rendered blob
Raw
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment