Difference between revisions of "Orange: Instalasi"
Onnowpurbo (talk | contribs) |
Onnowpurbo (talk | contribs) |
||
Line 15: | Line 15: | ||
dalam virtual environment | dalam virtual environment | ||
− | apt install python-sip-dev python3-sip-dev | + | apt install python-sip-dev python3-sip-dev python3-sip |
wget https://sourceforge.net/projects/pyqt/files/sip/sip-4.19.3/sip-4.19.3.tar.gz | wget https://sourceforge.net/projects/pyqt/files/sip/sip-4.19.3/sip-4.19.3.tar.gz | ||
tar zxvf sip-4.19.3.tar.gz | tar zxvf sip-4.19.3.tar.gz | ||
Line 28: | Line 28: | ||
tar zxvf PyQt4_gpl_x11-4.12.1.tar.gz | tar zxvf PyQt4_gpl_x11-4.12.1.tar.gz | ||
cd PyQt4_gpl_x11-4.12.1 | cd PyQt4_gpl_x11-4.12.1 | ||
− | python configure.py | + | python configure-ng.py |
make -j4 | make -j4 | ||
make install | make install | ||
Line 34: | Line 34: | ||
+ | git clone https://github.com/biolab/orange3 | ||
+ | cd orange3 | ||
+ | pip install numpy | ||
+ | pip install -r requirements.txt | ||
+ | pip install -r requirements-gui.txt | ||
+ | python setup.py develop | ||
+ | python -m Orange.canvas | ||
==Pip== | ==Pip== |
Revision as of 05:55, 26 October 2017
Instalasi orange
sudo su apt install ruby linuxbrew-wrapper ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" brew tap homebrew/science brew install python3 qt
cd /usr/local/src pip3 install virtualenv virtualenv -p python3 orange3env source orange3env/bin/activate
dalam virtual environment
apt install python-sip-dev python3-sip-dev python3-sip wget https://sourceforge.net/projects/pyqt/files/sip/sip-4.19.3/sip-4.19.3.tar.gz tar zxvf sip-4.19.3.tar.gz cd sip-4.19.3 python configure.py make -j4 make install cd ..
apt install qt4-default wget http://sourceforge.net/projects/pyqt/files/PyQt4/PyQt-4.12.1/PyQt4_gpl_x11-4.12.1.tar.gz tar zxvf PyQt4_gpl_x11-4.12.1.tar.gz cd PyQt4_gpl_x11-4.12.1 python configure-ng.py make -j4 make install cd ..
git clone https://github.com/biolab/orange3 cd orange3 pip install numpy pip install -r requirements.txt pip install -r requirements-gui.txt python setup.py develop python -m Orange.canvas
Pip
Teknik ini OK untuk Ubuntu 16.04. Teknik ini membutuhkan python3.
Orange juga bisa dipasang dari paket Python. Anda mungkin memerlukan paket sistem tambahan yang disediakan oleh distribusi anda.
sudo su sudo apt -y install build-essential libssl-dev libffi-dev subversion python-dev python3-dev sudo apt -y install python3-pyqt5 python3-pyqt5.qtsvg python3-pyqt5.qtwebkit sudo apt remove python-pip python3-pip cd /usr/local/src wget https://bootstrap.pypa.io/get-pip.py python get-pip.py python3 get-pip.py apt -y install python-numpy python-twython chmod -Rf 777 /usr/local/lib/ chmod -Rf 777 /usr/local/bin/
pip3 install orange3
Menjalankan orange
orange-canvas
Anaconda
Jika anda menggunakan python yang disediakan oleh distribusi Anaconda, anda sudah hampir siap untuk menggunakannya. Tambahkan conda-forge ke daftar saluran yang bisa anda pasang dari paket
conda config --add channels conda-forge
dan jalankan
conda install orange3 conda install -c defaults pyqt=5 qt
perintah kedua untuk menginstalasi qt dan pyqt dari default channel, karena kedua-nya diberikan oleh conda-forge yang tidak termasuk dalam webkit
Installing from source
Clone our repository from GitHub or download the source code tarball. Then follow the instructions in README.md
To run Orange Canvas run
python -m Orange.canvas
Previous version
Orange 2.7 is still available.
Installing add-ons
Additional features can be added to Orange by installing add-ons. You can find add-on manager in Options menu.