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

How to install pyshp via python pip




pyshp - Pure Python read/write support for ESRI Shapefile format, it belongs to Classifiers:

- Topic :: Scientific/Engineering :: GIS

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



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_pyshp_env

- Active the virtual environment

test_pyshp_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_pyshp_env

- Active the virtual environment

source test_pyshp_env/bin/active


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

To install pyshp on Windows(CMD):

py -m pip install pyshp

To install pyshp on Unix/macOs:

pip install pyshp


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

Example:

pip install pyshp==1.0.5


Please see the version list below table:

VersionReleased dateCommand
pyshp 2.3.12022-07-27T19:51:26Windows:

py -m pip install pyshp==2.3.1

Unix/macOs:

pip install pyshp==2.3.1

pyshp 2.3.02022-04-30T08:56:00Windows:

py -m pip install pyshp==2.3.0

Unix/macOs:

pip install pyshp==2.3.0

pyshp 2.2.02022-02-02T17:11:16Windows:

py -m pip install pyshp==2.2.0

Unix/macOs:

pip install pyshp==2.2.0

pyshp 2.1.32021-01-14T14:12:50Windows:

py -m pip install pyshp==2.1.3

Unix/macOs:

pip install pyshp==2.1.3

pyshp 2.1.22020-09-10T22:02:06Windows:

py -m pip install pyshp==2.1.2

Unix/macOs:

pip install pyshp==2.1.2

pyshp 2.1.12020-09-09T20:25:15Windows:

py -m pip install pyshp==2.1.1

Unix/macOs:

pip install pyshp==2.1.1

pyshp 2.1.02019-02-15T20:12:43Windows:

py -m pip install pyshp==2.1.0

Unix/macOs:

pip install pyshp==2.1.0

pyshp 2.0.12018-11-07T05:59:53Windows:

py -m pip install pyshp==2.0.1

Unix/macOs:

pip install pyshp==2.0.1

pyshp 2.0.02018-11-05T04:18:36Windows:

py -m pip install pyshp==2.0.0

Unix/macOs:

pip install pyshp==2.0.0

pyshp 1.2.122017-08-24T14:58:09Windows:

py -m pip install pyshp==1.2.12

Unix/macOs:

pip install pyshp==1.2.12

pyshp 1.2.112017-04-29T21:14:40Windows:

py -m pip install pyshp==1.2.11

Unix/macOs:

pip install pyshp==1.2.11

pyshp 1.2.102016-09-24T19:44:38Windows:

py -m pip install pyshp==1.2.10

Unix/macOs:

pip install pyshp==1.2.10

pyshp 1.2.92016-09-22T21:04:41Windows:

py -m pip install pyshp==1.2.9

Unix/macOs:

pip install pyshp==1.2.9

pyshp 1.2.32015-06-22T04:11:08Windows:

py -m pip install pyshp==1.2.3

Unix/macOs:

pip install pyshp==1.2.3

pyshp 1.2.22015-06-22T03:03:58Windows:

py -m pip install pyshp==1.2.2

Unix/macOs:

pip install pyshp==1.2.2

pyshp 1.2.12014-05-12T03:02:43Windows:

py -m pip install pyshp==1.2.1

Unix/macOs:

pip install pyshp==1.2.1

pyshp 1.2.02013-09-06T02:09:04Windows:

py -m pip install pyshp==1.2.0

Unix/macOs:

pip install pyshp==1.2.0

pyshp 1.1.92013-07-27T21:09:35Windows:

py -m pip install pyshp==1.1.9

Unix/macOs:

pip install pyshp==1.1.9

pyshp 1.1.82013-07-02T16:35:59Windows:

py -m pip install pyshp==1.1.8

Unix/macOs:

pip install pyshp==1.1.8

pyshp 1.1.72013-06-23T19:21:04Windows:

py -m pip install pyshp==1.1.7

Unix/macOs:

pip install pyshp==1.1.7

pyshp 1.1.42011-10-03T04:43:46Windows:

py -m pip install pyshp==1.1.4

Unix/macOs:

pip install pyshp==1.1.4

pyshp 1.1.32011-09-27T02:58:00Windows:

py -m pip install pyshp==1.1.3

Unix/macOs:

pip install pyshp==1.1.3

pyshp 1.1.02011-09-22T03:23:52Windows:

py -m pip install pyshp==1.1.0

Unix/macOs:

pip install pyshp==1.1.0

pyshp 1.0.62011-09-05T04:22:10Windows:

py -m pip install pyshp==1.0.6

Unix/macOs:

pip install pyshp==1.0.6

pyshp 1.0.52011-09-02T19:06:57Windows:

py -m pip install pyshp==1.0.5

Unix/macOs:

pip install pyshp==1.0.5


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

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

After that, install by command:

On Windows(CMD):

py -m pip install <path_to_pyshp_downloaded_file>

On Unix/macOs:

pip install <path_to_pyshp_downloaded_file>


List distribution:


Project link:

- Homepage
- Download