PySPEDAS simple installation guide

From SPEDAS Wiki
Jump to navigation Jump to search

Simplified Python and PySPEDAS installation

This page is for users who want to get Python and PySPEDAS up and running as simply as possible, with installation instructions that should work well for the majority of PySPEDAS users.

Overview of installation and configuration process

In order to run PySPEDAS, you'll need to set up a few things in your environment:

  • Install Python
  • Install a Python IDE (Interactive Development Environment)
  • Create a Python virtual environment
  • Install PySPEDAS and some other useful tools
  • Create and run a simple Python program that uses PySPEDAS, to verify that your installation is working properly.

Installing Python

Python 3.9 with miniconda

Installing the PyCharm IDE

PyCharm community edition

Creating a Python virtual environment

PyCharm "New Project" dialog

Installing PySPEDAS and other useful tools

  • pip install pyspedas
  • pip install jupyter
  • pip install basemap
  • pip install spacepy

Testing your PySPEDAS installation

plot_themis_state.py

Next steps

Explore the capabilities of PySPEDAS with example notebooks