Difference between revisions of "Orange: Install Ubuntu 18.04"

From OnnoWiki
Jump to: navigation, search
(Install Orange3)
(12 intermediate revisions by the same user not shown)
Line 1: Line 1:
==Install Orange2==
+
==Repository==
'''GAGAL'''
+
  
 +
Edit
  
  sudo apt update
+
  vi /etc/apt/sources.list
sudo apt -y install python-pip
+
sudo pip --no-cache-dir install scipy
+
sudo pip install orange
+
  
 +
Pastikan
 +
 +
deb http://id.archive.ubuntu.com/ubuntu/ bionic main restricted universe multiverse
  
 
==Install Orange3==
 
==Install Orange3==
Line 13: Line 13:
 
  sudo su
 
  sudo su
 
  apt update
 
  apt update
  apt -y install build-essential libssl-dev libffi-dev subversion python-dev python3-dev
+
   
apt -y install python3-pyqt5 python3-pyqt5.qtsvg python3-pyqt5.qtwebkit
+
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
+
 
+
pip install twython==3.7.0
+
pip install scipy==1.2.1
+
pip install kiwisolver==1.0.1
+
pip install numpy==1.16.2
+
pip install matplotlib==3.0.3
+
pip install six==1.12.0
+
pip install testresources==2.0.1
+
 
+
chmod -Rf 777 /usr/local/lib/
+
chmod -Rf 777 /usr/local/bin/
+
 
+
 
+
(from versions: 3.3.4, 3.3.5, 3.3.6, 3.3.7, 3.3.8, 3.3.9, 3.3.10, 3.3.11, 3.3.12,
+
3.4.0, 3.4.1, 3.4.2, 3.4.3, 3.4.4, 3.4.5, 3.5.0, 3.6.0, 3.7.0, 3.7.1, 3.8.0, 3.9.0, 3.9.1,
+
3.10.0, 3.11.0, 3.12.0, 3.13.0, 3.14.0, 3.15.0, 3.16.0, 3.17.0, 3.18.0, 3.19.0, 3.20.0, 3.20.1)
+
  
pip install orange3==3.17.0
 
  
'''CATATAN:''' Versi Terakhir tidak recommended ada BUG. Jangan jalankan perintah ini.
+
apt remove python3-pip python3-dev
 +
rm -Rf $HOME/.local/lib/python3.6/site-packages
 +
rm -Rf /usr/local/lib/python3.6/site-packages
 +
apt install python3-dev python3-pip
  
  pip install orange3
+
  pip3 install numpy scipy mkl nose sphinx pydot-ng pandas-datareader
  pip install orange3==3.21.0
+
pip3 install parameterized Theano cntk matplotlib sklearn seaborn h5py
 +
pip3 install matplotlib pandas scipy sklearn seaborn features
 +
pip3 install spyder
 +
pip3 install tensorflow keras
 +
  pip3 install orange3
  
 +
mkdir -p /usr/lib/python3.6/site-packages/
 +
chmod -Rf 777 /usr/lib/python3.6/site-packages/
 +
chown -Rf nobody: /usr/lib/python3.6/site-packages/
  
 +
==Optional==
  
'''BUG:'''
+
  pip3 install python-twitter
  libpng warning: iCCP: known incorrect sRGB profile
+
libpng warning: iCCP: known incorrect sRGB profile
+
Segmentation fault (core dumped)
+
  
 
==Pranala Menarik==
 
==Pranala Menarik==
  
 
* [[Orange]]
 
* [[Orange]]

Revision as of 12:21, 12 October 2019

Repository

Edit

vi /etc/apt/sources.list

Pastikan

deb http://id.archive.ubuntu.com/ubuntu/ bionic main restricted universe multiverse

Install Orange3

sudo su
apt update


apt remove python3-pip python3-dev
rm -Rf $HOME/.local/lib/python3.6/site-packages
rm -Rf /usr/local/lib/python3.6/site-packages
apt install python3-dev python3-pip
pip3 install numpy scipy mkl nose sphinx pydot-ng pandas-datareader
pip3 install parameterized Theano cntk matplotlib sklearn seaborn h5py
pip3 install matplotlib pandas scipy sklearn seaborn features
pip3 install spyder
pip3 install tensorflow keras
pip3 install orange3
mkdir -p /usr/lib/python3.6/site-packages/
chmod -Rf 777 /usr/lib/python3.6/site-packages/
chown -Rf nobody: /usr/lib/python3.6/site-packages/

Optional

pip3 install python-twitter

Pranala Menarik