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

How to install bsonrpc via python pip




bsonrpc - JSON-RPC 2.0 and BSON-RPC 2.0 library for socket transports. Supports gevent., it belongs to Classifiers:

- License :: OSI Approved :: Mozilla Public License 2.0 (MPL 2.0)
- Programming Language :: Python :: 3.3

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



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_bsonrpc_env

- Active the virtual environment

test_bsonrpc_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_bsonrpc_env

- Active the virtual environment

source test_bsonrpc_env/bin/active


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

To install bsonrpc on Windows(CMD):

py -m pip install bsonrpc

To install bsonrpc on Unix/macOs:

pip install bsonrpc


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

Example:

pip install bsonrpc==0.1.0


Please see the version list below table:

VersionReleased dateCommand
bsonrpc 0.2.12017-05-08T11:45:18Windows:

py -m pip install bsonrpc==0.2.1

Unix/macOs:

pip install bsonrpc==0.2.1

bsonrpc 0.2.02017-03-21T23:59:52Windows:

py -m pip install bsonrpc==0.2.0

Unix/macOs:

pip install bsonrpc==0.2.0

bsonrpc 0.1.22016-04-12T21:36:50Windows:

py -m pip install bsonrpc==0.1.2

Unix/macOs:

pip install bsonrpc==0.1.2

bsonrpc 0.1.12016-01-28T06:49:51Windows:

py -m pip install bsonrpc==0.1.1

Unix/macOs:

pip install bsonrpc==0.1.1

bsonrpc 0.1.02016-01-27T03:33:58Windows:

py -m pip install bsonrpc==0.1.0

Unix/macOs:

pip install bsonrpc==0.1.0


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

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

After that, install by command:

On Windows(CMD):

py -m pip install <path_to_bsonrpc_downloaded_file>

On Unix/macOs:

pip install <path_to_bsonrpc_downloaded_file>


List distribution:

- bsonrpc-0.1.0-py2.py3-none-any.whl
- bsonrpc-0.1.1-py2.py3-none-any.whl
- bsonrpc-0.1.2-py2.py3-none-any.whl
- bsonrpc-0.2.0.tar.gz
- bsonrpc-0.2.1.tar.gz


Project link:

- Homepage