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

How to install k2catalogue via python pip




k2catalogue - K2 Catalogue Queryier, it belongs to Classifiers:

- Programming Language :: Python :: 2.6
- Programming Language :: Python :: 3.2
- Topic :: Scientific/Engineering :: Astronomy

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



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_k2catalogue_env

- Active the virtual environment

test_k2catalogue_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_k2catalogue_env

- Active the virtual environment

source test_k2catalogue_env/bin/active


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

To install k2catalogue on Windows(CMD):

py -m pip install k2catalogue

To install k2catalogue on Unix/macOs:

pip install k2catalogue


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

Example:

pip install k2catalogue==0.5.0


Please see the version list below table:

VersionReleased dateCommand
k2catalogue 0.5.02015-02-03T13:48:29Windows:

py -m pip install k2catalogue==0.5.0

Unix/macOs:

pip install k2catalogue==0.5.0


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

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

After that, install by command:

On Windows(CMD):

py -m pip install <path_to_k2catalogue_downloaded_file>

On Unix/macOs:

pip install <path_to_k2catalogue_downloaded_file>


List distribution:

- k2catalogue-0.5.0-py2.py3-none-any.whl
- k2catalogue-0.5.0.tar.gz


Project link:

- Homepage