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

How to install Shaft via python pip




Shaft - A mid stack Flask based framework that put structure in the file system. Features: Caching, Mailing, Storage, CSRF, recaptcha, Cors. Supports HTML, Markdown and Jade and more, it belongs to Classifiers:

- Environment :: Web Environment
- License :: OSI Approved :: BSD License
- Programming Language :: Python :: 2.6
- Programming Language :: Python :: 2.7
- Programming Language :: Python :: 3.3
- Programming Language :: Python :: 3.4
- Programming Language :: Python :: 3.5
- Topic :: Internet
- Topic :: Internet :: WWW/HTTP
- Topic :: Internet :: WWW/HTTP :: Dynamic Content

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



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_Shaft_env

- Active the virtual environment

test_Shaft_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_Shaft_env

- Active the virtual environment

source test_Shaft_env/bin/active


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

To install Shaft on Windows(CMD):

py -m pip install Shaft

To install Shaft on Unix/macOs:

pip install Shaft


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

Example:

pip install Shaft==0.0.1


Please see the version list below table:

VersionReleased dateCommand
Shaft 0.0.82017-02-14T09:18:09Windows:

py -m pip install Shaft==0.0.8

Unix/macOs:

pip install Shaft==0.0.8

Shaft 0.0.72017-01-25T03:50:36Windows:

py -m pip install Shaft==0.0.7

Unix/macOs:

pip install Shaft==0.0.7

Shaft 0.0.62017-01-22T10:34:33Windows:

py -m pip install Shaft==0.0.6

Unix/macOs:

pip install Shaft==0.0.6

Shaft 0.0.52017-01-21T07:10:35Windows:

py -m pip install Shaft==0.0.5

Unix/macOs:

pip install Shaft==0.0.5

Shaft 0.0.42017-01-20T03:06:01Windows:

py -m pip install Shaft==0.0.4

Unix/macOs:

pip install Shaft==0.0.4

Shaft 0.0.32017-01-17T03:39:21Windows:

py -m pip install Shaft==0.0.3

Unix/macOs:

pip install Shaft==0.0.3

Shaft 0.0.22017-01-15T00:43:15Windows:

py -m pip install Shaft==0.0.2

Unix/macOs:

pip install Shaft==0.0.2

Shaft 0.0.12017-01-11T06:48:04Windows:

py -m pip install Shaft==0.0.1

Unix/macOs:

pip install Shaft==0.0.1


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

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

After that, install by command:

On Windows(CMD):

py -m pip install <path_to_Shaft_downloaded_file>

On Unix/macOs:

pip install <path_to_Shaft_downloaded_file>


List distribution:


Project link:

- Homepage