Skip to content

Commit

Permalink
Merge pull request #265 from RemiLehe/better_install
Browse files Browse the repository at this point in the history
Update installation instructions
  • Loading branch information
RemiLehe committed Feb 7, 2020
2 parents 66df587 + b926978 commit 2b26e74
Showing 1 changed file with 4 additions and 9 deletions.
13 changes: 4 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,27 +52,22 @@ browser**. To use this executable, simply type in a regular terminal:

### Installation on a local computer

#### Installation with conda (recommended)
#### Installation with conda

In order to install `openPMD-viewer` with `conda`, please install the [Anaconda
distribution](https://docs.anaconda.com/anaconda/install/), and then type
```
conda install -c rlehe openpmd_viewer
conda install -c conda-forge openpmd-viewer
```
If you are using JupyterLab, please also install the `jupyter-matplotlib`
extension (See installation instructions
[here](https://github.com/matplotlib/jupyter-matplotlib)).

#### Installation with pip

If you cannot install `openPMD-viewer` with `conda`, the alternative
is to use `pip`. However, you need to first make sure that `h5py` is
installed on your local computer. This can be done for instance by
typing `pip install h5py`, though this may require you to install `hdf5` separately.

Once `h5py` is installed, simply type
You can also install `openPMD-viewer` using `pip`
```
pip install openPMD-viewer
pip install openpmd-viewer
```
In addition, if you wish to use the interactive GUI, please type
```
Expand Down

0 comments on commit 2b26e74

Please sign in to comment.