The purpose for this project is to install Python 3.6 and Obspy on the Raspian OS for Raspberry Pi.
This project is inspired by grabear's project Raspbian-ShinyServerAndPython36
The current setup has been tested on Raspbian Stretch with a Raspberry Pi 3 Model B. The installation will take some time.
It's recommended to run the installation one step at a time OR do the full installation when you have several hours to allow it to complete.
One way to increase download speed is to use your local mirror of Raspbian sources, Raspberry and PyPI. If you locate in mainland China especially you are a user of Cernet, it is strongly recommneded that you use the mirror provide by Tsinghua University TUNA Assosiation. To change TUNA mirror, simply run:
pi@raspberrypi $ sudo bash chinese_mirror_conf.sh
To run the full installation use master-install.sh. Again, recommended to do this overnight or when you can dedicate several hours for completion.
The following software will be installed with the full installation:
- APT packages
- Python dependencies
build-essential
,tk-dev
,libncurses5-dev
,libncursesw5-dev
,libreadline6-dev
,libdb5.3-dev
,libgdbm-dev
,libsqlite3-dev
,libssl-dev
,libbz2-dev
,libexpat1-dev
,liblzma-dev
,zlib1g-dev
- Obspy dependences
liblapack-dev
,libblas-dev
(for scipy)libxml
,libxml-sec
,libxml2-dev
,libxmlsec1-dev
(for lxml)
- Python dependencies
- Latest version of Python 3.6
- PyPI
- numpy
- scipy
- matplotlib
- future
- lxml
- sqlalchemy
- suds-jurko
- basemap
- PyPI
pi@raspberrypi $ sudo bash .master-install.sh
Python 3.6 installation on Raspbian was inspired by this Gist.
pi@raspberrypi $ sudo bash .master-python3.6-install.sh
Note: At the time of writing this guide Python 3.6.3 was the latest release. If a newer release is available via the python website, then please change LATEST_PYTHON36_VERSION
variable at the begining of config/py3.6-install.sh
.
- Python 3.6 installation on Raspbian was inspired by this Gist.
- This project is inspired by grabear's project Raspbian-ShinyServerAndPython36