You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+32-10Lines changed: 32 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -11,43 +11,65 @@ see "ImageJ Server" below for details.
11
11
12
12
1. Install [Conda](https://conda.io/):
13
13
* On Windows, install Conda using [Chocolatey](https://chocolatey.org): `choco install miniconda3`
14
-
* On macOS, install Conda using [Homebrew](https://brew.sh): `brew install miniconda`
14
+
* On macOS, install Conda using [Homebrew](https://brew.sh): `brew cask install miniconda`
15
15
* On Linux, install Conda using its [RPM or Debian package](https://www.anaconda.com/rpm-and-debian-repositories-for-miniconda/), or [with the Miniconda install script](https://docs.conda.io/projects/conda/en/latest/user-guide/install/linux.html).
16
16
17
-
2.[Activate the conda-forge channel](https://conda-forge.org/docs/user/introduction.html#how-can-i-install-packages-from-conda-forge):
17
+
2. Configure your shell for use with conda:
18
+
```
19
+
conda init bash
20
+
```
21
+
Where `bash` is the shell you use.
22
+
Then start a new shell instance.
23
+
24
+
3.[Activate the conda-forge channel](https://conda-forge.org/docs/user/introduction.html#how-can-i-install-packages-from-conda-forge):
18
25
```
19
26
conda config --add channels conda-forge
20
27
conda config --set channel_priority strict
21
28
```
22
29
23
-
3. Install pyimagej into a new conda environment:
30
+
4. Install pyimagej into a new conda environment:
24
31
```
25
32
conda create -n pyimagej pyimagej openjdk=8
26
33
```
27
34
28
-
4. Whenever you want to use pyimagej, activate its environment:
35
+
5. Whenever you want to use pyimagej, activate its environment:
29
36
```
30
37
conda activate pyimagej
31
38
```
32
39
33
40
### Installation asides
34
41
35
-
* If you want to use [scikit-image](https://scikit-image.org/) in conjunction, as demonstrated below, you can install it also via:
36
-
42
+
* If you want to use [scikit-image](https://scikit-image.org/) in conjunction,
43
+
as demonstrated below, you can install it also via:
37
44
```
38
45
conda install scikit-image
39
46
```
40
47
41
-
* The above command installs pyimagej with OpenJDK 8; if you leave off the `openjdk=8` it will install OpenJDK 11 by default, which should also work, but is less well tested and may have more rough edges.
48
+
* The above command installs pyimagej with OpenJDK 8; if you leave off the
49
+
`openjdk=8` it will install OpenJDK 11 by default, which should also work, but
50
+
is less well tested and may have more rough edges.
42
51
43
52
* It is possible to dynamically install pyimagej from within a Jupyter notebook:
* If you would prefer to install pyimagej via pip, more legwork is required. See [this thread](https://forum.image.sc/t/how-do-i-install-pyimagej/23189/4) for hints.
57
+
This approach is useful for [JupyterHub](https://jupyter.org/hub) on the
58
+
cloud, e.g. [Binder](https://mybinder.org/), to utilize pyimagej in select
59
+
notebooks without advance installation. This reduces time needed to create
60
+
and launch the environment, at the expense of a longer startup time the first
61
+
time a pyimagej-enabled notebook is run. See [this itkwidgets example
0 commit comments