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

How to install superjson via python pip




superjson - Extendable json encode/decode library., it belongs to Classifiers:

- Operating System :: MacOS
- Operating System :: Microsoft
- Operating System :: Microsoft :: Windows
- Operating System :: Unix
- Programming Language :: Python :: 3 :: Only

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



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_superjson_env

- Active the virtual environment

test_superjson_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_superjson_env

- Active the virtual environment

source test_superjson_env/bin/active


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

To install superjson on Windows(CMD):

py -m pip install superjson

To install superjson on Unix/macOs:

pip install superjson


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

Example:

pip install superjson==0.0.1


Please see the version list below table:

VersionReleased dateCommand
superjson 1.0.22022-01-30T20:48:12Windows:

py -m pip install superjson==1.0.2

Unix/macOs:

pip install superjson==1.0.2

superjson 1.0.12021-10-07T17:33:08Windows:

py -m pip install superjson==1.0.1

Unix/macOs:

pip install superjson==1.0.1

superjson 0.0.132019-04-11T02:53:33Windows:

py -m pip install superjson==0.0.13

Unix/macOs:

pip install superjson==0.0.13

superjson 0.0.122019-04-10T02:39:37Windows:

py -m pip install superjson==0.0.12

Unix/macOs:

pip install superjson==0.0.12

superjson 0.0.112019-04-10T02:22:27Windows:

py -m pip install superjson==0.0.11

Unix/macOs:

pip install superjson==0.0.11

superjson 0.0.102018-09-07T00:17:43Windows:

py -m pip install superjson==0.0.10

Unix/macOs:

pip install superjson==0.0.10

superjson 0.0.92018-09-07T00:08:28Windows:

py -m pip install superjson==0.0.9

Unix/macOs:

pip install superjson==0.0.9

superjson 0.0.82017-09-12T08:17:29Windows:

py -m pip install superjson==0.0.8

Unix/macOs:

pip install superjson==0.0.8

superjson 0.0.72017-09-12T08:11:27Windows:

py -m pip install superjson==0.0.7

Unix/macOs:

pip install superjson==0.0.7

superjson 0.0.62017-09-12T04:28:24Windows:

py -m pip install superjson==0.0.6

Unix/macOs:

pip install superjson==0.0.6

superjson 0.0.52017-07-14T21:19:54Windows:

py -m pip install superjson==0.0.5

Unix/macOs:

pip install superjson==0.0.5

superjson 0.0.42017-05-30T22:11:03Windows:

py -m pip install superjson==0.0.4

Unix/macOs:

pip install superjson==0.0.4

superjson 0.0.32017-05-30T21:20:35Windows:

py -m pip install superjson==0.0.3

Unix/macOs:

pip install superjson==0.0.3

superjson 0.0.22017-05-30T20:46:51Windows:

py -m pip install superjson==0.0.2

Unix/macOs:

pip install superjson==0.0.2

superjson 0.0.12017-05-30T16:14:18Windows:

py -m pip install superjson==0.0.1

Unix/macOs:

pip install superjson==0.0.1


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

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

After that, install by command:

On Windows(CMD):

py -m pip install <path_to_superjson_downloaded_file>

On Unix/macOs:

pip install <path_to_superjson_downloaded_file>


List distribution:


Project link:

- Homepage
- Download