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

How to install sc2replay-lib via python pip




sc2replay-lib - Basic library for reading details about a Blizzard (TM) StarCraft(TM) 2 replay file, it belongs to Classifiers:

- Environment :: Console
- Environment :: Other Environment
- License :: OSI Approved :: Mozilla Public License 1.1 (MPL 1.1)
- Natural Language :: English
- Topic :: Games/Entertainment
- Topic :: Games/Entertainment :: Real Time Strategy
- Topic :: Utilities

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



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_sc2replay-lib_env

- Active the virtual environment

test_sc2replay-lib_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_sc2replay-lib_env

- Active the virtual environment

source test_sc2replay-lib_env/bin/active


Step 2: OK, now, let flow below content to start the installation sc2replay-lib

To install sc2replay-lib on Windows(CMD):

py -m pip install sc2replay-lib

To install sc2replay-lib on Unix/macOs:

pip install sc2replay-lib


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

Example:

pip install sc2replay-lib==0.1.1


Please see the version list below table:

VersionReleased dateCommand
sc2replay-lib 0.1.32011-05-26T02:08:34Windows:

py -m pip install sc2replay-lib==0.1.3

Unix/macOs:

pip install sc2replay-lib==0.1.3

sc2replay-lib 0.1.22011-05-17T22:26:01Windows:

py -m pip install sc2replay-lib==0.1.2

Unix/macOs:

pip install sc2replay-lib==0.1.2

sc2replay-lib 0.1.12011-05-17T21:05:07Windows:

py -m pip install sc2replay-lib==0.1.1

Unix/macOs:

pip install sc2replay-lib==0.1.1


Step 4: Otherwise, you can install sc2replay-lib from local archives:

Download the distribution file from sc2replay-lib-0.1.3.tar.gz or the specific sc2replay-lib version in the below list of distribution

After that, install by command:

On Windows(CMD):

py -m pip install <path_to_sc2replay-lib_downloaded_file>

On Unix/macOs:

pip install <path_to_sc2replay-lib_downloaded_file>


List distribution:


Project link:

- Homepage