Follow the installation instructions provided in the :ref:`installation section <installation>`.
There are multiple ways to verify your SpiceyPy installation. The first test is to simply run
pip list
You should see SpiceyPy in the list of your installed packages. If SpiceyPy is not present in the list then a configuration issue in your environment caused SpiceyPy to be installed in a non-standard way. Note this is an error prone to systems with multiple installed python versions.
If SpiceyPy is present in the pip list, then SpiceyPy is installed. Another verification step is within the python REPL run:
import spiceypy as spice
The version of the installed cspice toolkit (note: not SpiceyPy's version) should be printed out. Otherwise the Python interpreter should output an explanatory error message.
The following calls the SPICE function :py:meth:`spiceypy.spiceypy.tkvrsn` which outputs the version of cspice that SpiceyPy is wrapping.
import spiceypy as spice
spice.tkvrsn('TOOLKIT')
This should output the following string:
'CSPICE_N0066'