Skip to content

Commit

Permalink
day 3: update installation instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
ilia-kats committed Apr 26, 2022
1 parent 2e4dd7e commit 7d6db15
Showing 1 changed file with 14 additions and 3 deletions.
17 changes: 14 additions & 3 deletions day3/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,26 @@ You will need the following packages from your repository of choice (PyPi/Conda/
* `napari`
* `pyqt5`
* `mofapy2` (you should have alredy installed this for day 2)
* `scanpy`
* `squidpy`
* `muon`

You will also need the development versions of some packages.
These need to be installed with `pip`/`pip3`, even in a Conda environment, using `pip install git+repository_url`

* `scanpy`: https://github.com/theislab/scanpy
* `squidpy`: https://github.com/theislab/squidpy/
* `SpatialDE`: https://github.com/ilia-kats/SpatialDE
* `muon`: https://github.com/gtca/muon
* `mofax`: https://github.com/bioFAM/mofax
* `cell2location`: https://github.com/BayraktarLab/cell2location

---

Note: Currently, there are some incompatibilities between packages when using Python 3.10.
This is due to the fact that the latest NumPy version is 1.22, but numba is not yet compatible with it and requires NumPy 1.21.
However, some other packages using the NumPy C API have been compiled against 1.22 already and are not compatible with 1.21.
Older versions of some of these packages (e.g. tables) are not compatible with Python 3.10.
In conclusion, at this moment you probably want to use Python 3.9 and you may have to manually massage some versions if you find that packages raise exceptions upon import.

---

### using Conda
Either [miniconda](https://docs.conda.io/projects/conda/en/latest/user-guide/install/) or [anaconda](https://docs.anaconda.com/anaconda/install/) is required, with Python >= 3.7.
Expand Down

0 comments on commit 7d6db15

Please sign in to comment.