Installazione Python: differenze tra le versioni

Da MeteOceanWiki.
(Creata pagina con "sudo zypper install python python-devel ipython python-pip python-scipy python-scipy python-matplotlib hdf5 hdf5-devel jasper netcdf netcdf-devel zypper install python-grib_...")
 
 
(30 revisioni intermedie di un utente non mostrate)
Riga 1: Riga 1:
sudo
 
  
zypper install python python-devel ipython python-pip python-scipy python-scipy python-matplotlib hdf5 hdf5-devel jasper netcdf netcdf-devel
+
E' preferibile utilizzare Anaconda in quanto l'installazione rimane coerente nel tempo e non è affetta da eventuali scostamenti di aggiornamenti
  
zypper install python-grib_api proj geos geos-devel libgeos python-geos
+
* scaricare lo script dal sito di Anaconda e cambiare la directory di destinazione
 +
* eseguirlo e poi installare gli altri pacchetti
  
zypper install R-base-devel R-base python-singledispatch readline-devel
+
./conda update -n base conda
 +
./conda update --all
 +
./conda install -c conda-forge matplotlib pygrib
 +
./conda install -c conda-forge python-cdo
 +
./conda install -c conda-forge cdo
 +
./conda install -c conda-forge netcdf4 xarray dask bottleneck pandas
 +
./conda install -c conda-forge basemap basemap-data-hires
 +
./conda install -c conda-forge numpy
 +
./conda install -c conda-forge joblib proj4 geos
 +
./conda install -c conda-forge mako
 +
./conda install -c conda-forge cartopy seaborn
 +
./conda install -c conda-forge openblas
  
zypper addrepo http://download.opensuse.org/repositories/science/openSUSE_Leap_42.1/science.repo
+
per geodicca e pygrads https://sourceforge.net/projects/opengrads/files/ scaricare i pacchetti e poi installarli col comando
  
zypper refresh
+
/opt/anaconda2/bin/python setup.py install
  
zypper install python-pyproj
+
 
 +
 
 +
Altrimenti l'installazione tradizionale è la seguente
 +
 
 +
zypper install python python-devel ipython python-pip python-scipy python-scipy python-matplotlib hdf5 hdf5-devel jasper netcdf netcdf-devel
 +
zypper install python-grib_api proj geos geos-devel libgeos python-geos
 +
zypper install R-base-devel R-base python-singledispatch readline-devel
 +
 
 +
zypper addrepo http://download.opensuse.org/repositories/science/openSUSE_Leap_42.1/science.repo
 +
zypper refresh
 +
zypper install python-pyproj
 +
zypper -n install pandoc
 +
 
 +
zypper at http://download.opensuse.org/repositories/graphics/openSUSE_Leap_42.2 graphics
 +
zypper refresh
 +
zypper -n install OpenSCAD

Versione attuale delle 17:21, 27 ott 2019

E' preferibile utilizzare Anaconda in quanto l'installazione rimane coerente nel tempo e non è affetta da eventuali scostamenti di aggiornamenti

  • scaricare lo script dal sito di Anaconda e cambiare la directory di destinazione
  • eseguirlo e poi installare gli altri pacchetti
./conda update -n base conda
./conda update --all
./conda install -c conda-forge matplotlib pygrib 
./conda install -c conda-forge python-cdo
./conda install -c conda-forge cdo 
./conda install -c conda-forge netcdf4 xarray dask bottleneck pandas
./conda install -c conda-forge basemap basemap-data-hires 
./conda install -c conda-forge numpy 
./conda install -c conda-forge joblib proj4 geos
./conda install -c conda-forge mako
./conda install -c conda-forge cartopy seaborn
./conda install -c conda-forge openblas

per geodicca e pygrads https://sourceforge.net/projects/opengrads/files/ scaricare i pacchetti e poi installarli col comando

/opt/anaconda2/bin/python setup.py install


Altrimenti l'installazione tradizionale è la seguente

zypper install python python-devel ipython python-pip python-scipy python-scipy python-matplotlib hdf5 hdf5-devel jasper netcdf netcdf-devel
zypper install python-grib_api proj geos geos-devel libgeos python-geos
zypper install R-base-devel R-base python-singledispatch readline-devel
zypper addrepo http://download.opensuse.org/repositories/science/openSUSE_Leap_42.1/science.repo
zypper refresh
zypper install python-pyproj
zypper -n install pandoc
zypper at http://download.opensuse.org/repositories/graphics/openSUSE_Leap_42.2 graphics
zypper refresh
zypper -n install OpenSCAD