Difference between revisions of "Orange: Instalasi"
Onnowpurbo (talk | contribs) (→Pip) |
Onnowpurbo (talk | contribs) |
||
(34 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
+ | |||
+ | ===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 | ||
+ | apt install qt4-default | ||
+ | apt install python-pip | ||
+ | |||
+ | 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/ | ||
+ | |||
+ | pastikan versi python > 3.4 | ||
+ | |||
+ | python --version | ||
+ | |||
+ | cd /usr/local/src | ||
+ | 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== | ==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 | conda config --add channels conda-forge | ||
− | + | dan jalankan | |
conda install orange3 | conda install orange3 | ||
conda install -c defaults pyqt=5 qt | 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== | ==Installing from source== |
Latest revision as of 12:59, 30 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 apt install qt4-default apt install python-pip
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/
pastikan versi python > 3.4
python --version
cd /usr/local/src 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.