These are the install instructions for Windows/pip. If this isn’t your operating system, or you want a developer install, go back to the Cookbook and select the correct link.
First, you will need to download a scientific Python distribution. We strongly recommend Anaconda.
To make sure that you have installed Python successfully, type python on your command line. You should see something like this:
(Press control-D to exit)
Test core functionality:
Test the GUIs:
If any of these commands don’t work, go back and carefully follow the install instructions. If you still have a problem, try the Troubleshooting section. If you don’t find an answer there, check out the existing Github issues and create a new one if necessary.
Accessing example data files:
There are many data files used in the examples of programs and for use with the textbook Essentials of Paleomagnetism. You may want to copy the data files to your Desktop or another convenient location. To do this, navigate on the command line to your desired destination folder (for help, see this Cookbook section). Then, use the command:
This will copy all of the PmagPy example files to your current directory. NB: If you have a developer install, you can simply navigate to PmagPy/data_files, and move_data_files will not be needed.
To stay up to date with new features and bug fixes, you should periodically update both PmagPy packages.
To check the currently installed version number for pmagpy (or any other Python package), run:
If you ever need to uninstall pmagpy or pmagpy-cli:
or
Back to the Cookbook!