Skip to content

Commit

Permalink
Merge pull request #2 from qupath/conda
Browse files Browse the repository at this point in the history
Use conda instead of venv
  • Loading branch information
alanocallaghan authored Oct 23, 2024
2 parents 2674b73 + 2aba80a commit 2804d1e
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,12 @@ These are the notebooks and associated files for the i2k 2024
2. Download the [QuPath project](https://github.com/qupath/i2k-qupath-for-python-programmers/releases/download/untagged-4b3138048386c601ccdf/i2k-qupath-python-project.zip)
for this workshop.
3. Unzip the project in the i2k-qupath-for-python-programmers directory
4. Create a python virtual environment (bash):
1. `python -m venv .venv`
2. `. ./.venv/bin/activate`
3. `pip install instanseg-torch git+https://github.com/qupath/qubalab.git jupyter ipython leidenalg igraph umap-learn`
4. Create a conda environment (bash):
1. `conda create -n i2k-qupath-python python=3.10`
2. `conda activate i2k-qupath-python`
3. Install the requirements, either by
- `pip install -r requirements.txt`, or
- `pip install instanseg-torch git+https://github.com/qupath/qubalab.git jupyter ipython leidenalg igraph umap-learn`.
5. Open QuPath v0.6.0
6. Start a py4j gateway with default parameters
7. Open the `i2k-qupath-python-project` in QuPath
Expand Down

0 comments on commit 2804d1e

Please sign in to comment.