Skip to main content

ANU Inversion Course Package

Project description

ANU Inversion Course Package

Build PyPI version

This package contains resources to be used in the inversion course practicals.

Getting started

1. Set up virtual environment

(optional) It's recommended to use a virtual environment (using conda or venv, etc.) so that it doesn't conflict with your other Python projects. Create a new environment with

conda create -n inversion_course python=3.10 jupyterlab

and enter that environment with

conda activate inversion_course

2. Dependency

A Fortran compiler is needed for Apple Silicon M1, and Fortran libraries (libgfortran11) is also needed for other operating systems. So remember to have gfortran installed before installing this package. Check this page for instructions on how to download it.

Notes for MacOS

Make sure you have xcode installed (from App Store), and then the command line tools installed by opening terminal and typing in:

xcode-select --install

For M1 chip: if you've set up a conda environment, then another option is to install gfortran using conda:

conda install -c conda-forge gfortran

The gfortran version is updated (gfortran-11) for M1 chip but not for the Intel one (as per this)

3. Installation

Type the following in your terminal:

pip install anu-inversion-course

4. Check

And when you run jupyter-lab to do the practicals, make sure you are in the same environment as where your anu-inversion-course was installed. You can try to test this by checking if the following commands give you similar result:

$ which pip
<some-path>/bin/pip
$ which jupyter-lab
<same-path>/bin/jupyter-lab
$ pip list | grep ANU-inversion-course
ANU-inversion-course               0.1.0

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ANU_inversion_course-0.1.0.dev5.tar.gz (1.5 MB view hashes)

Uploaded Source

Built Distributions

ANU_inversion_course-0.1.0.dev5-cp310-cp310-win_amd64.whl (180.8 kB view hashes)

Uploaded CPython 3.10 Windows x86-64

ANU_inversion_course-0.1.0.dev5-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.4 MB view hashes)

Uploaded CPython 3.10 manylinux: glibc 2.17+ x86-64

ANU_inversion_course-0.1.0.dev5-cp310-cp310-macosx_10_9_x86_64.whl (250.1 kB view hashes)

Uploaded CPython 3.10 macOS 10.9+ x86-64

ANU_inversion_course-0.1.0.dev5-cp39-cp39-win_amd64.whl (179.0 kB view hashes)

Uploaded CPython 3.9 Windows x86-64

ANU_inversion_course-0.1.0.dev5-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.4 MB view hashes)

Uploaded CPython 3.9 manylinux: glibc 2.17+ x86-64

ANU_inversion_course-0.1.0.dev5-cp39-cp39-macosx_10_9_x86_64.whl (250.1 kB view hashes)

Uploaded CPython 3.9 macOS 10.9+ x86-64

ANU_inversion_course-0.1.0.dev5-cp38-cp38-win_amd64.whl (180.8 kB view hashes)

Uploaded CPython 3.8 Windows x86-64

ANU_inversion_course-0.1.0.dev5-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.4 MB view hashes)

Uploaded CPython 3.8 manylinux: glibc 2.17+ x86-64

ANU_inversion_course-0.1.0.dev5-cp38-cp38-macosx_10_9_x86_64.whl (250.0 kB view hashes)

Uploaded CPython 3.8 macOS 10.9+ x86-64

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page