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.dev14.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 29ee4f4b89dcd42e66f74a8412788c19e994b67827c576820a9aecac4bb317e6 |
|
MD5 | f12959b22b5ceea9912a53f9fe25d581 |
|
BLAKE2b-256 | 1747ade5c7f546c00214b07972cc74d9695f25292c4999226ee48e4491710923 |
Hashes for ANU_inversion_course-0.1.0.dev14-cp310-cp310-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d3256780a9d96cbf92fb2c689b834abd8b19d34341c11ae232b91e9ae9285218 |
|
MD5 | 370b1b90d737f57a47c6ac79c1537ab8 |
|
BLAKE2b-256 | 5832e38d8e787681d0a11e52d413d7b6986a110369b0252187bc634d718b9737 |
Hashes for ANU_inversion_course-0.1.0.dev14-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 660fb98e07453dbaf148f4120ef47e4f334dfc3122056555094b586b7f1922d6 |
|
MD5 | 11bcd6dcbf25fad79cc305c0465dec64 |
|
BLAKE2b-256 | bdddc9d5afaa25602013457863a872240be8a94ed0caac6bc3bfb1b90b14bbc5 |
Hashes for ANU_inversion_course-0.1.0.dev14-cp39-cp39-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8146852d04b24c9939a0da59c1ef6ce0c7a3736a57b5e18b743b56a3469b161d |
|
MD5 | 6dc162eab14d92e5d8be2549bc9a0139 |
|
BLAKE2b-256 | 5356ffa01ddc86282ef3912441e90c3261b656b8cc946eb7ec62c527314613a6 |
Hashes for ANU_inversion_course-0.1.0.dev14-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3f79f3b366a4001700dc16a821eef0fd61fbfa160df24194e48685a9cf35c31e |
|
MD5 | f87b8bd447a750fe0514d7be6cc62110 |
|
BLAKE2b-256 | d805e93dc92764031fa650cd8b34df1ddb58d5163047809bcb448b22ad3cdc49 |
Hashes for ANU_inversion_course-0.1.0.dev14-cp38-cp38-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f991e77b9907c0f89ec0482b9f06c8d8bc567d45ef7589dd0e93a6dd6848b10a |
|
MD5 | d175bd7d0b1fd46f6e33462be46dc480 |
|
BLAKE2b-256 | d629585544c0d78c4bb3041a8deaa2a72d6acf426c8430e1dba4dd042d18cf2d |
Hashes for ANU_inversion_course-0.1.0.dev14-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e976971d7bd29858f47a0f6a08bdbce4439a0ad81903b902a4beb17bb917f832 |
|
MD5 | 7ca62eccd9e81ec6dd52585fbc8c6d12 |
|
BLAKE2b-256 | 5c1c9f84a3809fde74a73477b6e92c3a3e2a1beddebff2244b0bf5834f55ab0b |
Hashes for ANU_inversion_course-0.1.0.dev14-cp37-cp37m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b984d2bdb63ebd1dff9d5ef24d2a31f252467086499e3a476e1e60d2750933eb |
|
MD5 | 4fad92eabfab9bdc060772fcaecb8e9a |
|
BLAKE2b-256 | 0daf77d45ac583ed9f93247dce30dad70bdd9a8992ba42399153dfaebee5ab9d |
Hashes for ANU_inversion_course-0.1.0.dev14-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ffc4fdd449ed1582dfa1ede3796eb77c79814d10e0e2470414723fea6712c89a |
|
MD5 | 0b5fa6c9f35efc2eac2cc475b7dc357d |
|
BLAKE2b-256 | 244890efeb595cb319930e6afd98e0952165f90d5a03120751aaf92ed28e024f |
Hashes for ANU_inversion_course-0.1.0.dev14-cp36-cp36m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 52f3ce1dcf3243871feca6636fa4fdb7bdac049a10c5f78e72b58d5ce5407b48 |
|
MD5 | 4fb8d14c1c858c69fe39e55d0f91894f |
|
BLAKE2b-256 | 1dac93f83199635584210e0581b3c7b6587eea9a477cb212b7497f1816626fff |
Hashes for ANU_inversion_course-0.1.0.dev14-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ce81e716c789e2be78a859c3759a8cabf336316046d2ff150f5bf286497cd181 |
|
MD5 | e82f286ad2fe8ccc223b4178599fa898 |
|
BLAKE2b-256 | e0cf50355eaf0a3cdbcdaf437e2618313c4ab9beec583f328ba157e304ad5651 |