Skip to content

Commit b679419

Browse files
authored
Merge pull request #5316 from biolab/readme-pip-warning
README: Fixup instructions for running Orange
2 parents c8bd3de + 8451773 commit b679419

File tree

1 file changed

+12
-29
lines changed

1 file changed

+12
-29
lines changed

README.md

Lines changed: 12 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -56,49 +56,32 @@ conda install orange3-<addon name>
5656
```
5757
[See specific add-on repositories for details.](https://github.com/biolab/)
5858

59-
#### Running
60-
61-
Activate the environment,
62-
```Shell
63-
conda activate orange3
64-
```
65-
and run either `orange-canvas` or `python3 -m Orange.canvas`.
66-
67-
Add `--help` for a list of program options.
68-
69-
Starting up for the first time may take a while.
7059

7160
### Installing with pip
7261

73-
To install Orange with pip, run the following.
62+
We recommend using our [standalone installer](https://orange.biolab.si/download) or conda, but Orange is also installable with pip. You will need a C/C++ compiler (on Windows we suggest using Microsoft Visual Studio Build Tools).
7463

75-
```Shell
76-
# Install build requirements via your system's package manager
77-
sudo apt install virtualenv build-essential python3-dev
7864

79-
# Create an environment for Orange and its dependencies
80-
virtualenv --python=python3 --system-site-packages orange3venv
65+
### Installing with winget (Windows only)
8166

82-
# Activate the environment
83-
source orange3venv/bin/activate
67+
To install Orange with [winget](https://docs.microsoft.com/en-us/windows/package-manager/winget/), run:
8468

85-
# Install Orange
86-
pip install orange3
69+
```Shell
70+
winget install --id UniversityofLjubljana.Orange
8771
```
8872

89-
#### Running
73+
## Running
9074

91-
Activate the environment by `source orange3venv/bin/activate`. Then run `orange-canvas` or `python3 -m Orange.canvas`. Add `--help` for a list of program options.
75+
Ensure you've activated the correct virtual environment. If following the above conda instructions:
9276

93-
Starting up for the first time may take a while.
77+
```Shell
78+
conda activate orange3
79+
```
9480

95-
### Installing with winget (Windows only)
81+
Run `orange-canvas` or `python3 -m Orange.canvas`. Add `--help` for a list of program options.
9682

97-
To install Orange with [winget](https://docs.microsoft.com/en-us/windows/package-manager/winget/), run:
83+
Starting up for the first time may take a while.
9884

99-
```Shell
100-
winget install --id UniversityofLjubljana.Orange
101-
```
10285

10386
## Developing
10487

0 commit comments

Comments
 (0)