python orange3_orange3

Orange

Orange

is a component-based data mining software.

It includes a range of data visualization, exploration, preprocessing and

modeling techniques. It can be used through a nice and intuitive user

interface or, for more advanced users, as a module for the Python programming

language.

This is a development version of Orange 3. The stable version 2.7 is still

available (

binaries

and

sources

).

Installing

Orange requires Python 3.6 or newer.

First, install

Anaconda

for your OS.

Create virtual environment for Orange:

conda create python=3 --name orange3

In your Anaconda Prompt add conda-forge to your channels:

conda config --add channels conda-forge

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

conda install orange3

Installing with pip

To install Orange with pip, run the following.

# Install some build requirements via your system's package manager

sudo apt install virtualenv git build-essential python3-dev

# Create a separate Python environment for Orange and its dependencies ...

virtualenv --python=python3 --system-site-packages orange3venv

# ... and make it the active one

source orange3venv/bin/activate

# Clone the repository and move into it

git clone https://github.com/biolab/orange3.git

cd orange3

# Install Qt dependencies for the GUI

pip install PyQt5

# Install other minimum required dependencies

pip install -r requirements-core.txt # For Orange Python library

pip install -r requirements-gui.txt # For Orange GUI

pip install -r requirements-sql.txt # To use SQL support

pip install -r requirements-opt.txt # Optional dependencies, may fail

# Finally install Orange in editable/development mode.

pip install -e .

Installation of SciPy and qt-graph-helpers is sometimes challenging because of

their non-python dependencies that have to be installed manually. More

detailed, if mostly obsolete, guides for some platforms can be found in the

wiki

.

Missing WebKit/WebEngine

Some distributions of PyQt5 come without WebKit or WebEngine, required by some

add-ons and for reporting. Running

pip install PyQtWebEngine

may solve this

issue.

Starting Orange GUI

To start Orange GUI from the command line, run:

orange-canvas

# or

python3 -m Orange.canvas

Append

--help

for a list of program options.

Compiling on Windows

Get appropriate wheels for missing libraries. You will need

numpy+mkl

and

scipy

.

Install them with

pip install some-wheel.whl

Install

Visual Studio compiler

. Then go to Orange3 folder and run:

python setup.py build_ext -i --compiler=msvc install

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值