Skip to content

Commit d2a6da7

Browse files
authored
Merge pull request #4517 from daikikatsuragawa/update-README.md
Update README.md
2 parents 71b8b36 + 19cbcb1 commit d2a6da7

File tree

1 file changed

+29
-18
lines changed

1 file changed

+29
-18
lines changed

README.md

Lines changed: 29 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -24,21 +24,28 @@ Orange requires Python 3.6 or newer.
2424

2525
First, install [Miniconda] for your OS. Create virtual environment for Orange:
2626

27-
conda create python=3 --name orange3
28-
27+
```Shell
28+
conda create python=3 --name orange3
29+
```
2930
In your Anaconda Prompt add conda-forge to your channels:
3031

31-
conda config --add channels conda-forge
32+
```Shell
33+
conda config --add channels conda-forge
34+
```
3235

3336
This will enable access to the latest Orange release. Then install Orange3:
3437

35-
conda install orange3
38+
```Shell
39+
conda install orange3
40+
```
3641

3742
[Miniconda]: https://docs.conda.io/en/latest/miniconda.html
3843

3944
To install the add-ons, follow a similar recipe:
4045

41-
conda install orange3-<addon name>
46+
```Shell
47+
conda install orange3-<addon name>
48+
```
4249

4350
See specific add-on repositories for details.
4451

@@ -47,27 +54,31 @@ Installing with pip
4754

4855
To install Orange with pip, run the following.
4956

50-
# Install some build requirements via your system's package manager
51-
sudo apt install virtualenv build-essential python3-dev
57+
```Shell
58+
# Install some build requirements via your system's package manager
59+
sudo apt install virtualenv build-essential python3-dev
5260

53-
# Create a separate Python environment for Orange and its dependencies ...
54-
virtualenv --python=python3 --system-site-packages orange3venv
55-
# ... and make it the active one
56-
source orange3venv/bin/activate
61+
# Create a separate Python environment for Orange and its dependencies ...
62+
virtualenv --python=python3 --system-site-packages orange3venv
63+
# ... and make it the active one
64+
source orange3venv/bin/activate
5765

58-
# Install Qt dependencies for the GUI
59-
pip install PyQt5 PyQtWebEngine
66+
# Install Qt dependencies for the GUI
67+
pip install PyQt5 PyQtWebEngine
6068

61-
# Install Orange
62-
pip install orange3
69+
# Install Orange
70+
pip install orange3
71+
```
6372

6473
Starting Orange GUI
6574
-------------------
6675

6776
To start Orange GUI from the command line, run:
6877

69-
orange-canvas
70-
# or
71-
python3 -m Orange.canvas
78+
```Shell
79+
orange-canvas
80+
# or
81+
python3 -m Orange.canvas
82+
```
7283

7384
Append `--help` for a list of program options.

0 commit comments

Comments
 (0)