Quick install

Install irfpy.cpem

Installation is simple; use pip, the python package manager.

% pip install --find-links=https://irfpy.irf.se/sdist irfpy.cpem

Update irfpy.cpem

Since irfpy is updating as frequently as possible, you may sometimes want to update the package. But don’t worry, it is enough simple. Add “-U” in the end of the pip.

% pip install --find-links=https://irfpy.irf.se/sdist irfpy.cpem -U

Uninstall irfpy.cpem

If you want to uninstall the package, just pip uninstall command.

% pip uninstall irfpy.cpem

Troubleshoot

Let’s see if the installation works correctly.

  1. Open a terminal
  2. Then start ipython.
ipython

If it is successful, a prompt In [1]: is seen.

  1. Try importing several important packages, as seen examples below.
import irfpy.cpem                   # irfpy.cpem module

If fails, the corresponding package is not installed correctly.