#Anaconda中安裝Orange3腳本,完整版。包括插件的安裝,在腳本中一次完成。 sudo apt-get update sudo apt-get -y install git python-pip python-virtualenv python-qt4-dev python3-pyqt4 libqt4-dev sudo apt-get -y install python3-sip-dev python3-dev python3-numpy python3-scipy echo "複製orange源代碼。" if [ ! -d "orange3" ]; then git clone https://github.com/biolab/orange3.git cd orange3 else cd orange3 git pull fi echo "=============================" echo "安裝Orange的依賴庫代碼" pip install -r requirements-core.txt pip install -r requirements-dev.txt pip install -r requirements-doc.txt pip install -r requirements-gui.txt pip install -r requirements-sql.txt echo "=============================" echo "安裝orange-framework擴展庫" python setup.py develop cd .. echo "=============================" echo "安裝orange-bio擴展庫" if [ ! -d "orange-bio" ]; then git clone https://github.com/biolab/orange-bio.git cd orange-bio else cd orange-bio git pull fi python setup.py develop cd .. echo "=============================" echo "安裝orange3-text擴展庫" if [ ! -d "orange3-text" ]; then git clone https://github.com/biolab/orange3-text.git cd orange3-text else cd orange3-text git pull fi python setup.py develop cd .. echo "=============================" echo "安裝orange3-datafusion擴展庫" if [ ! -d "orange3-datafusion" ]; then git clone https://github.com/biolab/orange3-datafusion.git cd orange3-datafusion else cd orange3-datafusion git pull fi python setup.py develop cd .. echo "=============================" echo "安裝orange3-network擴展庫" if [ ! -d "orange3-network" ]; then git clone https://github.com/biolab/orange3-network.git cd orange3-network else cd orange3-network git pull fi python setup.py develop cd .. echo "=============================" echo "安裝orange3-spark擴展庫" pip install Orange3-spark echo "Orange3 installed.================================"