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

How to install stac.py via python pip




stac.py - Python Client Library for STAC., it belongs to Classifiers:

- Environment :: Web Environment
- Intended Audience :: Education
- Topic :: Scientific/Engineering :: GIS

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



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_stac.py_env

- Active the virtual environment

test_stac.py_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_stac.py_env

- Active the virtual environment

source test_stac.py_env/bin/active


Step 2: OK, now, let flow below content to start the installation stac.py

To install stac.py on Windows(CMD):

py -m pip install stac.py

To install stac.py on Unix/macOs:

pip install stac.py


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

Example:

pip install stac.py==0.9.0.post3


Please see the version list below table:

VersionReleased dateCommand
stac.py 0.9.0.post132021-07-19T18:30:15Windows:

py -m pip install stac.py==0.9.0.post13

Unix/macOs:

pip install stac.py==0.9.0.post13

stac.py 0.9.0.post122021-06-15T12:28:15Windows:

py -m pip install stac.py==0.9.0.post12

Unix/macOs:

pip install stac.py==0.9.0.post12

stac.py 0.9.0.post112021-04-22T17:13:55Windows:

py -m pip install stac.py==0.9.0.post11

Unix/macOs:

pip install stac.py==0.9.0.post11

stac.py 0.9.0.post102021-04-09T14:31:59Windows:

py -m pip install stac.py==0.9.0.post10

Unix/macOs:

pip install stac.py==0.9.0.post10

stac.py 0.9.0.post92021-03-29T20:59:49Windows:

py -m pip install stac.py==0.9.0.post9

Unix/macOs:

pip install stac.py==0.9.0.post9

stac.py 0.9.0.post82021-03-24T20:14:33Windows:

py -m pip install stac.py==0.9.0.post8

Unix/macOs:

pip install stac.py==0.9.0.post8

stac.py 0.9.0.post72021-03-24T19:14:26Windows:

py -m pip install stac.py==0.9.0.post7

Unix/macOs:

pip install stac.py==0.9.0.post7

stac.py 0.9.0.post62020-12-10T18:30:27Windows:

py -m pip install stac.py==0.9.0.post6

Unix/macOs:

pip install stac.py==0.9.0.post6

stac.py 0.9.0.post52020-09-22T19:54:47Windows:

py -m pip install stac.py==0.9.0.post5

Unix/macOs:

pip install stac.py==0.9.0.post5

stac.py 0.9.0.post42020-09-15T21:19:43Windows:

py -m pip install stac.py==0.9.0.post4

Unix/macOs:

pip install stac.py==0.9.0.post4

stac.py 0.9.0.post32020-09-14T20:00:53Windows:

py -m pip install stac.py==0.9.0.post3

Unix/macOs:

pip install stac.py==0.9.0.post3


Step 4: Otherwise, you can install stac.py from local archives:

Download the distribution file from stac.py-0.9.0.post13.tar.gz or the specific stac.py version in the below list of distribution

After that, install by command:

On Windows(CMD):

py -m pip install <path_to_stac.py_downloaded_file>

On Unix/macOs:

pip install <path_to_stac.py_downloaded_file>


List distribution:


Project link:

- Homepage