-
Notifications
You must be signed in to change notification settings - Fork 0
/
set_python.sh
35 lines (27 loc) · 879 Bytes
/
set_python.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
#!/bin/bash
pip install --upgrade pip
pip install numpy
pip install scipy
pip install matplotlib
pip install Pillow
pip install ipython[all]
pip install pandas
#pip install seaborn
pip install jupyter
#pip install scikit-learn
#pip install tensorflow
#pip install keras
#sudo pip install https://software.ecmwf.int/wiki/download/attachments/56664858/ecmwf-api-client-python.tgz
pip install geos
pip install proj
pip install netCDF4
pip install pyresample
#brew install geos
pip3 install https://github.com/matplotlib/basemap/archive/master.zip
#set gdal
brew unlink gdal
brew tap osgeo/osgeo4mac && brew tap --repair
brew install jasper netcd jpeg-turbo hdf4 osgeo/osgeo4mac/osgeo-libkml SFCGAL armadillo cryptopp
brew install gdal2 --with-armadillo --ignore-deoendencies
brew link --force gdal2
pip install GDAL==$(gdal-config --version | awk -F'[.]' '{print $1"."$2}')