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

How to install pencil via python pip




pencil - Dumb but useful wrapper around Graphite URL API., it belongs to Classifiers:

- Intended Audience :: System Administrators

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



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_pencil_env

- Active the virtual environment

test_pencil_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_pencil_env

- Active the virtual environment

source test_pencil_env/bin/active


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

To install pencil on Windows(CMD):

py -m pip install pencil

To install pencil on Unix/macOs:

pip install pencil


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

Example:

pip install pencil==0.1


Please see the version list below table:

VersionReleased dateCommand
pencil 0.72012-04-16T16:24:20Windows:

py -m pip install pencil==0.7

Unix/macOs:

pip install pencil==0.7

pencil 0.6.22012-01-17T12:46:40Windows:

py -m pip install pencil==0.6.2

Unix/macOs:

pip install pencil==0.6.2

pencil 0.6.12011-08-23T14:28:14Windows:

py -m pip install pencil==0.6.1

Unix/macOs:

pip install pencil==0.6.1

pencil 0.62011-08-23T14:23:23Windows:

py -m pip install pencil==0.6

Unix/macOs:

pip install pencil==0.6

pencil 0.52011-07-12T08:37:33Windows:

py -m pip install pencil==0.5

Unix/macOs:

pip install pencil==0.5

pencil 0.42011-07-11T12:00:18Windows:

py -m pip install pencil==0.4

Unix/macOs:

pip install pencil==0.4

pencil 0.22011-07-11T10:12:18Windows:

py -m pip install pencil==0.2

Unix/macOs:

pip install pencil==0.2

pencil 0.12011-07-11T09:10:14Windows:

py -m pip install pencil==0.1

Unix/macOs:

pip install pencil==0.1


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

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

After that, install by command:

On Windows(CMD):

py -m pip install <path_to_pencil_downloaded_file>

On Unix/macOs:

pip install <path_to_pencil_downloaded_file>


List distribution:


Project link:

- Homepage