Coding With Fun
Home Docker Django Node.js Articles Python pip guide FAQ Policy
 

How to install spiceypy via python pip




spiceypy - A Python Wrapper for the NAIF CSPICE Toolkit, it belongs to Classifiers:

- Operating System :: MacOS
- Operating System :: MacOS :: MacOS X
- Operating System :: Microsoft
- Operating System :: Microsoft :: Windows
- Operating System :: POSIX
- Operating System :: POSIX :: BSD
- Operating System :: POSIX :: BSD :: FreeBSD
- Operating System :: POSIX :: Linux
- Topic :: Scientific/Engineering
- Topic :: Scientific/Engineering :: Astronomy

When you know about this project and you want to new install spiceypy to support your project or you get trouble as ModuleNotFoundError: No module named "spiceypy" or ImportError: cannot import name "spiceypy" in your project, let follow this tutorial to install spiceypy



Installation:

Step 1: First, ensure you installed pip in your os, to check pip has been installed on your computer

In Windows (CMD):

py -m pip --version

In Unix/macOS:

python3 -m pip --version

Ensure pip, setuptools, and wheel are up to date:

In Windows (CMD):

py -m pip install --upgrade pip setuptools wheel

In Unix/macOS:

python3 -m pip install --upgrade pip setuptools wheel


Optional - If you want to install in virtual environment:

In Windows (CMD):

- Install virtualenv - if you installed it, please ignore

py -m pip install --user virtualenv

- Create a virtual environment

py -m venv test_spiceypy_env

- Active the virtual environment

test_spiceypy_env\Scripts\active

In Unix/macOS:

- Install virtualenv - if you installed it, please ignore

pip3 install virtualenv

- Create a virtual environment

python3 -m venv test_spiceypy_env

- Active the virtual environment

source test_spiceypy_env/bin/active


Step 2: OK, now, let flow below content to start the installation spiceypy

To install spiceypy on Windows(CMD):

py -m pip install spiceypy

To install spiceypy on Unix/macOs:

pip install spiceypy


Step 3: If you want to install a specific spiceypy version, add ==<spiceypy version> to the end command line

Example:

pip install spiceypy==1.0.0


Please see the version list below table:

VersionReleased dateCommand
spiceypy 5.1.12022-07-31T05:41:37Windows:

py -m pip install spiceypy==5.1.1

Unix/macOs:

pip install spiceypy==5.1.1

spiceypy 5.1.02022-07-10T01:05:48Windows:

py -m pip install spiceypy==5.1.0

Unix/macOs:

pip install spiceypy==5.1.0

spiceypy 5.0.12022-03-24T05:13:27Windows:

py -m pip install spiceypy==5.0.1

Unix/macOs:

pip install spiceypy==5.0.1

spiceypy 5.0.02022-02-18T08:25:54Windows:

py -m pip install spiceypy==5.0.0

Unix/macOs:

pip install spiceypy==5.0.0

spiceypy 4.0.32021-11-15T01:37:34Windows:

py -m pip install spiceypy==4.0.3

Unix/macOs:

pip install spiceypy==4.0.3

spiceypy 4.0.22021-08-13T13:59:44Windows:

py -m pip install spiceypy==4.0.2

Unix/macOs:

pip install spiceypy==4.0.2

spiceypy 4.0.12021-05-31T15:57:41Windows:

py -m pip install spiceypy==4.0.1

Unix/macOs:

pip install spiceypy==4.0.1

spiceypy 4.0.02020-12-08T02:53:55Windows:

py -m pip install spiceypy==4.0.0

Unix/macOs:

pip install spiceypy==4.0.0

spiceypy 3.1.12020-05-25T23:22:16Windows:

py -m pip install spiceypy==3.1.1

Unix/macOs:

pip install spiceypy==3.1.1

spiceypy 3.1.02020-05-25T20:09:22Windows:

py -m pip install spiceypy==3.1.0

Unix/macOs:

pip install spiceypy==3.1.0

spiceypy 3.0.22020-02-20T02:49:06Windows:

py -m pip install spiceypy==3.0.2

Unix/macOs:

pip install spiceypy==3.0.2

spiceypy 3.0.12020-01-10T17:45:20Windows:

py -m pip install spiceypy==3.0.1

Unix/macOs:

pip install spiceypy==3.0.1

spiceypy 3.0.02020-01-10T01:30:39Windows:

py -m pip install spiceypy==3.0.0

Unix/macOs:

pip install spiceypy==3.0.0

spiceypy 2.3.22019-12-20T00:31:42Windows:

py -m pip install spiceypy==2.3.2

Unix/macOs:

pip install spiceypy==2.3.2

spiceypy 2.3.12019-10-18T20:17:04Windows:

py -m pip install spiceypy==2.3.1

Unix/macOs:

pip install spiceypy==2.3.1

spiceypy 2.3.02019-09-25T17:35:23Windows:

py -m pip install spiceypy==2.3.0

Unix/macOs:

pip install spiceypy==2.3.0

spiceypy 2.2.12019-08-20T03:13:17Windows:

py -m pip install spiceypy==2.2.1

Unix/macOs:

pip install spiceypy==2.2.1

spiceypy 2.2.02019-02-24T16:44:09Windows:

py -m pip install spiceypy==2.2.0

Unix/macOs:

pip install spiceypy==2.2.0

spiceypy 2.1.22018-06-17T18:27:09Windows:

py -m pip install spiceypy==2.1.2

Unix/macOs:

pip install spiceypy==2.1.2

spiceypy 2.1.12018-04-25T01:46:27Windows:

py -m pip install spiceypy==2.1.1

Unix/macOs:

pip install spiceypy==2.1.1

spiceypy 2.1.02017-11-09T21:34:12Windows:

py -m pip install spiceypy==2.1.0

Unix/macOs:

pip install spiceypy==2.1.0

spiceypy 2.0.02017-06-10T01:50:39Windows:

py -m pip install spiceypy==2.0.0

Unix/macOs:

pip install spiceypy==2.0.0

spiceypy 1.1.12017-04-24T01:34:46Windows:

py -m pip install spiceypy==1.1.1

Unix/macOs:

pip install spiceypy==1.1.1

spiceypy 1.1.02016-10-19T04:10:36Windows:

py -m pip install spiceypy==1.1.0

Unix/macOs:

pip install spiceypy==1.1.0

spiceypy 1.0.02016-03-27T20:19:41Windows:

py -m pip install spiceypy==1.0.0

Unix/macOs:

pip install spiceypy==1.0.0


Step 4: Otherwise, you can install spiceypy from local archives:

Download the distribution file from spiceypy-5.1.1.tar.gz or the specific spiceypy version in the below list of distribution

After that, install by command:

On Windows(CMD):

py -m pip install <path_to_spiceypy_downloaded_file>

On Unix/macOs:

pip install <path_to_spiceypy_downloaded_file>


List distribution:


Project link:

- Homepage
- Bug Tracker
- Changelog
- Conda-Forge
- Documentation
- Repository
- Source