ANU Inversion Course Package
Project description
ANU Inversion Course Package
This package contains resources to be used in the inversion course practicals.
Table of contents
Getting started
1. Pre-requisites
Before installing the ANU-inversion-course
package, make sure you have the following ready:
- A computer
- OS-specific dependencies
- For Linux users: ensure your
apt
/dnf
/pacman
works - For MacOS users:
- download
XCode
from "App Store" (you'll need to create an Apple account if not already) - install command line tools by typing this in the "Terminal":
xcode-select --install
- download
- For Windows users: install Cygwin, and remember to use it for the following dependencies
- For Linux users: ensure your
- Python >= 3.6
- gfortran
2. Set up a virtual environment (optional)
It's recommended to use a virtual environment (e.g. venv
, virtualenv
, mamba
or conda
) so that it doesn't conflict with your other Python projects.
Open a terminal (or a Cygwin shell for Windows users) and refer to the cheat sheet below for how to create, activate, exit and remove a virtual environment.
venv
Ensure you have python >= 3.6.
Use the first two lines below to create and activate the new virtual environment. The other lines are for your future reference.
$ python -m venv <path-to-new-env>/inversion_course # to create
$ source <path-to-new-env>/inversion_course/bin/activate # to activate
$ deactivate # to exit
$ rm -rf <path-to-new-env>/inversion_course # to remove
virtualenv
Use the first two lines below to create and activate the new virtual environment. The other lines are for your future reference.
$ virtualenv <path-to-new-env>/inversion_course -p=3.10 # to create
$ source <path-to-new-env>/inversion_course/bin/activate # to activate
$ deactivate # to exit
$ rm -rf <path-to-new-env>/inversion_course # to remove
mamba
Use the first two lines below to create and activate the new virtual environment. The other lines are for your future reference.
$ mamba create -n inversion_course python=3.10 # to create
$ mamba activate inversion_course # to activate
$ mamba deactivate # to exit
$ mamba env remove -n inversion_course # to remove
conda
Use the first two lines below to create and activate the new virtual environment. The other lines are for your future reference.
$ conda create -n inversion_course python=3.10 # to create
$ conda activate inversion_course # to activate
$ conda deactivate # to exit
$ conda env remove -n inversion_course # to remove
3. Installation
Type the following in your terminal (or Cygwin shell for Windows users):
$ pip install jupyterlab 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
Troubleshooting
If you find problems importing anu_inversion_course.rf
, try to search the error message you get. Here contains a nice explanation for the possible cause. And here is how to locate libgfortran
:
gfortran --print-file-name libgfortran.5.dylib
Developer Notes
Check out NOTES.md if you'd like to contribute to this package.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
Hashes for ANU_inversion_course-0.1.0.dev13.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 960ec7c36b0e975ec0dbee87c81f44e96ef0792c1374f07b0e56c26d189f0b1f |
|
MD5 | 9fd14d095216b7325f98446b005925bb |
|
BLAKE2b-256 | 820b257295efa27e7eee2c512214eeda847b45fcb00b1cb29fac32750efc8b7a |
Hashes for ANU_inversion_course-0.1.0.dev13-cp310-cp310-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 71bbcedf4430836840ccf5ae14fb7e3dafcca1c1abf9bc54b398def98eb288a4 |
|
MD5 | d9af1b5ba040deb333b111da717db3c6 |
|
BLAKE2b-256 | 6c50edaa00039915a464c880e13c367515b63a8d5cad1aa74635b67955db68ec |
Hashes for ANU_inversion_course-0.1.0.dev13-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cea14076cb5f607221b264633805c5eb3b232c95be406a78ba1842b3a9b917df |
|
MD5 | 9f3d81826e286657b1861f4c0df673c4 |
|
BLAKE2b-256 | 9afe5eb43f252d2477403f8d916181f021ab2ddca89ba39d15672a0be48bd44a |
Hashes for ANU_inversion_course-0.1.0.dev13-cp39-cp39-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b9961b96434cff6345d7a0ef308a4e404ab126ce174b9032ba12d58d1f0acb21 |
|
MD5 | 68af3c9c26689749e07276142892ff48 |
|
BLAKE2b-256 | c38768277b0d0ece1891b4236f6cc82da3fededfac4a58da319fc6c1af2aff72 |
Hashes for ANU_inversion_course-0.1.0.dev13-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a8146e7f6e1fc46ff2bffa57a78dac3b224febc12b78574b96f77b0ab3bd5eb5 |
|
MD5 | 0694f51df0c0c0a1cc3bedf444b40cbc |
|
BLAKE2b-256 | 78b710cc05256822b70a37fb551179d380566cf34ee004bd5985efe11181f6eb |
Hashes for ANU_inversion_course-0.1.0.dev13-cp38-cp38-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e17857d121fff9d0467849824e239590a52c03871e457c1dd869aa482d47fd70 |
|
MD5 | 1cc9b15f9bc9e196e5667bc7f176d412 |
|
BLAKE2b-256 | d854e8c136743f59d9a4bc231047898fe6e948fa64589bffb47127627e5f9726 |
Hashes for ANU_inversion_course-0.1.0.dev13-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 746ec295524583dd1fcaff05529abe6e7eeb3d076b4d37810435913a7a872c5a |
|
MD5 | 8c06d78fa153b025677ed848b27edc2a |
|
BLAKE2b-256 | b00625d1c91867284bdcc15f46f0bcce0ffbc2548b1c8d1a15888d4c33da464c |
Hashes for ANU_inversion_course-0.1.0.dev13-cp37-cp37m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1a882867f2c587bc9a033c494da7e6a35b1b8774bf8901ad73e21c496049e2e3 |
|
MD5 | ff004d8cb708cd19dfb1807a8d2c9177 |
|
BLAKE2b-256 | 7c8053ad80f1e5e8c3ca424c2bbd9acdd0df96a081fcaa434bb731271c1b171f |
Hashes for ANU_inversion_course-0.1.0.dev13-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0562a7207ae6e047d0bea7ca0dd7942468e1ee196475e9a0b76b2007b206024c |
|
MD5 | 5f563d8774ef10409530c2d80de722af |
|
BLAKE2b-256 | 7575f4abca4a3052ab2d3969230632b32929b3519576f14fd1d1df7a4111331e |
Hashes for ANU_inversion_course-0.1.0.dev13-cp36-cp36m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b1f2aa3701806ff1a88a95365e7fa59558f972ef57a4e1a41885372fc8b4a158 |
|
MD5 | deba2c285a07e406169ea48023c28026 |
|
BLAKE2b-256 | 5e20349f2113c4bae78982689552da2db61439d7459c2152540d8acba6188091 |
Hashes for ANU_inversion_course-0.1.0.dev13-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4e72563c51588d71f1d5ef804988d45ae31db67f858ab680b80bcdb9082ffae1 |
|
MD5 | 0e31063de5bba1e09a01348b21bb19b9 |
|
BLAKE2b-256 | 2eb893389b7382857106ae7c3abaafca76bec04bdf63ec4c9f9238a42a159cfc |