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

How to install sgp4 via python pip




sgp4 - Track Earth satellites given TLE data, using up-to-date 2020 SGP4 routines., it belongs to Classifiers:

- Programming Language :: Python :: 2.6
- Programming Language :: Python :: 3.3
- Topic :: Scientific/Engineering :: Astronomy

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



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_sgp4_env

- Active the virtual environment

test_sgp4_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_sgp4_env

- Active the virtual environment

source test_sgp4_env/bin/active


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

To install sgp4 on Windows(CMD):

py -m pip install sgp4

To install sgp4 on Unix/macOs:

pip install sgp4


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

Example:

pip install sgp4==1.0


Please see the version list below table:

VersionReleased dateCommand
sgp4 2.212022-04-06T23:19:10Windows:

py -m pip install sgp4==2.21

Unix/macOs:

pip install sgp4==2.21

sgp4 2.202021-07-01T09:47:56Windows:

py -m pip install sgp4==2.20

Unix/macOs:

pip install sgp4==2.20

sgp4 2.192021-04-22T20:28:04Windows:

py -m pip install sgp4==2.19

Unix/macOs:

pip install sgp4==2.19

sgp4 2.182021-03-08T17:45:26Windows:

py -m pip install sgp4==2.18

Unix/macOs:

pip install sgp4==2.18

sgp4 2.172021-02-17T21:24:03Windows:

py -m pip install sgp4==2.17

Unix/macOs:

pip install sgp4==2.17

sgp4 2.162021-02-12T21:39:51Windows:

py -m pip install sgp4==2.16

Unix/macOs:

pip install sgp4==2.16

sgp4 2.152021-01-08T13:41:30Windows:

py -m pip install sgp4==2.15

Unix/macOs:

pip install sgp4==2.15

sgp4 2.142020-12-16T22:20:37Windows:

py -m pip install sgp4==2.14

Unix/macOs:

pip install sgp4==2.14

sgp4 2.132020-10-14T23:39:24Windows:

py -m pip install sgp4==2.13

Unix/macOs:

pip install sgp4==2.13

sgp4 2.122020-05-28T18:11:28Windows:

py -m pip install sgp4==2.12

Unix/macOs:

pip install sgp4==2.12

sgp4 2.112020-05-25T01:04:58Windows:

py -m pip install sgp4==2.11

Unix/macOs:

pip install sgp4==2.11

sgp4 2.102020-05-22T21:15:27Windows:

py -m pip install sgp4==2.10

Unix/macOs:

pip install sgp4==2.10

sgp4 2.92020-05-21T18:06:38Windows:

py -m pip install sgp4==2.9

Unix/macOs:

pip install sgp4==2.9

sgp4 2.82020-05-07T14:46:10Windows:

py -m pip install sgp4==2.8

Unix/macOs:

pip install sgp4==2.8

sgp4 2.72020-04-24T21:34:20Windows:

py -m pip install sgp4==2.7

Unix/macOs:

pip install sgp4==2.7

sgp4 2.62020-04-20T20:10:02Windows:

py -m pip install sgp4==2.6

Unix/macOs:

pip install sgp4==2.6

sgp4 2.52020-03-22T10:43:11Windows:

py -m pip install sgp4==2.5

Unix/macOs:

pip install sgp4==2.5

sgp4 2.42020-02-25T13:20:01Windows:

py -m pip install sgp4==2.4

Unix/macOs:

pip install sgp4==2.4

sgp4 2.32020-02-04T22:54:14Windows:

py -m pip install sgp4==2.3

Unix/macOs:

pip install sgp4==2.3

sgp4 2.22020-02-02T19:57:40Windows:

py -m pip install sgp4==2.2

Unix/macOs:

pip install sgp4==2.2

sgp4 2.12020-02-02T11:27:32Windows:

py -m pip install sgp4==2.1

Unix/macOs:

pip install sgp4==2.1

sgp4 2.02020-01-30T17:17:34Windows:

py -m pip install sgp4==2.0

Unix/macOs:

pip install sgp4==2.0

sgp4 1.42015-01-16T06:16:48Windows:

py -m pip install sgp4==1.4

Unix/macOs:

pip install sgp4==1.4

sgp4 1.32014-06-27T02:55:43Windows:

py -m pip install sgp4==1.3

Unix/macOs:

pip install sgp4==1.3

sgp4 1.12012-11-23T00:15:46Windows:

py -m pip install sgp4==1.1

Unix/macOs:

pip install sgp4==1.1

sgp4 1.02012-08-26T19:13:10Windows:

py -m pip install sgp4==1.0

Unix/macOs:

pip install sgp4==1.0


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

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

After that, install by command:

On Windows(CMD):

py -m pip install <path_to_sgp4_downloaded_file>

On Unix/macOs:

pip install <path_to_sgp4_downloaded_file>


List distribution:


Project link:

- Homepage