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

How to install rdp via python pip




rdp - Pure Python implementation of the Ramer-Douglas-Peucker algorithm, it belongs to Classifiers:

- Programming Language :: Python :: 2
- Programming Language :: Python :: 2.5
- Programming Language :: Python :: 2.6
- Programming Language :: Python :: 2.7
- Programming Language :: Python :: 3.2
- Programming Language :: Python :: 3.3
- Programming Language :: Python :: 3.4

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



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_rdp_env

- Active the virtual environment

test_rdp_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_rdp_env

- Active the virtual environment

source test_rdp_env/bin/active


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

To install rdp on Windows(CMD):

py -m pip install rdp

To install rdp on Unix/macOs:

pip install rdp


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

Example:

pip install rdp==0.4


Please see the version list below table:

VersionReleased dateCommand
rdp 0.82016-12-19T01:34:07Windows:

py -m pip install rdp==0.8

Unix/macOs:

pip install rdp==0.8

rdp 0.72016-11-14T19:59:14Windows:

py -m pip install rdp==0.7

Unix/macOs:

pip install rdp==0.7

rdp 0.62015-03-11T18:05:40Windows:

py -m pip install rdp==0.6

Unix/macOs:

pip install rdp==0.6

rdp 0.52014-03-05T02:14:00Windows:

py -m pip install rdp==0.5

Unix/macOs:

pip install rdp==0.5

rdp 0.42014-02-21T21:49:33Windows:

py -m pip install rdp==0.4

Unix/macOs:

pip install rdp==0.4


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

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

After that, install by command:

On Windows(CMD):

py -m pip install <path_to_rdp_downloaded_file>

On Unix/macOs:

pip install <path_to_rdp_downloaded_file>


List distribution:


Project link:

- Homepage