PySPEDAS simple installation guide: Difference between revisions

From SPEDAS Wiki
Jump to navigation Jump to search
(Created page with "== 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 Pytho...")
 
 
Line 27: Line 27:
== Installing PySPEDAS and other useful tools ==
== Installing PySPEDAS and other useful tools ==


pip install pyspedas
* pip install pyspedas
pip install jupyter
* pip install jupyter
pip install basemap
* pip install basemap
pip install spacepy
* pip install spacepy


== Testing your PySPEDAS installation ==
== Testing your PySPEDAS installation ==

Latest revision as of 20:20, 28 December 2023

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