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

How to install NBT via python pip




NBT - Named Binary Tag Reader/Writer, it belongs to Classifiers:

- Development Status :: 5 - Production/Stable
- Intended Audience :: Developers
- License :: OSI Approved
- License :: OSI Approved :: MIT License
- Operating System :: OS Independent
- Programming Language :: Python
- Programming Language :: Python :: 2
- Programming Language :: Python :: 2.7
- Programming Language :: Python :: 3
- Programming Language :: Python :: 3.3
- Programming Language :: Python :: 3.4
- Programming Language :: Python :: 3.5
- Programming Language :: Python :: 3.6
- Topic :: Games/Entertainment
- Topic :: Software Development
- Topic :: Software Development :: Libraries
- Topic :: Software Development :: Libraries :: Python Modules

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



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_NBT_env

- Active the virtual environment

test_NBT_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_NBT_env

- Active the virtual environment

source test_NBT_env/bin/active


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

To install NBT on Windows(CMD):

py -m pip install NBT

To install NBT on Unix/macOs:

pip install NBT


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

Example:

pip install NBT==0.6


Please see the version list below table:

VersionReleased dateCommand
NBT 1.5.12021-12-22T15:46:34Windows:

py -m pip install NBT==1.5.1

Unix/macOs:

pip install NBT==1.5.1

NBT 1.5.02018-05-15T15:02:58Windows:

py -m pip install NBT==1.5.0

Unix/macOs:

pip install NBT==1.5.0

NBT 1.4.12013-10-27T10:46:35Windows:

py -m pip install NBT==1.4.1

Unix/macOs:

pip install NBT==1.4.1

NBT 1.4.02013-10-27T10:24:37Windows:

py -m pip install NBT==1.4.0

Unix/macOs:

pip install NBT==1.4.0

NBT 1.32012-05-19T04:56:05Windows:

py -m pip install NBT==1.3

Unix/macOs:

pip install NBT==1.3

NBT 1.12011-09-23T09:17:10Windows:

py -m pip install NBT==1.1

Unix/macOs:

pip install NBT==1.1

NBT 1.02011-02-27T14:29:50Windows:

py -m pip install NBT==1.0

Unix/macOs:

pip install NBT==1.0

NBT 0.92010-12-15T07:02:13Windows:

py -m pip install NBT==0.9

Unix/macOs:

pip install NBT==0.9

NBT 0.82010-11-27T11:56:57Windows:

py -m pip install NBT==0.8

Unix/macOs:

pip install NBT==0.8

NBT 0.72010-11-02T15:50:27Windows:

py -m pip install NBT==0.7

Unix/macOs:

pip install NBT==0.7

NBT 0.62010-10-29T14:34:30Windows:

py -m pip install NBT==0.6

Unix/macOs:

pip install NBT==0.6


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

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

After that, install by command:

On Windows(CMD):

py -m pip install <path_to_NBT_downloaded_file>

On Unix/macOs:

pip install <path_to_NBT_downloaded_file>


List distribution:

- NBT-0.6.zip
- NBT-0.7.zip
- NBT-0.8.zip
- NBT-0.9.zip
- NBT-1.0.zip
- NBT-1.1.zip
- NBT-1.3.tar.gz
- NBT-1.4.0.tar.gz
- NBT-1.4.1.tar.gz
- NBT-1.5.0-py2.py3-none-any.whl
- NBT-1.5.0-py3-none-any.whl
- NBT-1.5.0.tar.gz
- NBT-1.5.1-py2.py3-none-any.whl
- NBT-1.5.1.tar.gz


Project link:

- Homepage