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

How to install python-terraform via python pip




python-terraform - This is a python module provide a wrapper of terraform command line tool, it belongs to Classifiers:

- Environment :: Console
- Operating System :: MacOS
- Operating System :: POSIX
- Operating System :: Unix
- Topic :: Software Development :: Libraries
- Topic :: Software Development :: Libraries :: Python Modules

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



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_python-terraform_env

- Active the virtual environment

test_python-terraform_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_python-terraform_env

- Active the virtual environment

source test_python-terraform_env/bin/active


Step 2: OK, now, let flow below content to start the installation python-terraform

To install python-terraform on Windows(CMD):

py -m pip install python-terraform

To install python-terraform on Unix/macOs:

pip install python-terraform


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

Example:

pip install python-terraform==0.7.4


Please see the version list below table:

VersionReleased dateCommand
python-terraform 0.10.12019-06-21T07:03:00Windows:

py -m pip install python-terraform==0.10.1

Unix/macOs:

pip install python-terraform==0.10.1

python-terraform 0.10.02018-04-13T21:28:58Windows:

py -m pip install python-terraform==0.10.0

Unix/macOs:

pip install python-terraform==0.10.0

python-terraform 0.9.12017-09-01T16:54:24Windows:

py -m pip install python-terraform==0.9.1

Unix/macOs:

pip install python-terraform==0.9.1

python-terraform 0.9.02017-08-08T22:15:15Windows:

py -m pip install python-terraform==0.9.0

Unix/macOs:

pip install python-terraform==0.9.0

python-terraform 0.8.62017-05-15T03:16:07Windows:

py -m pip install python-terraform==0.8.6

Unix/macOs:

pip install python-terraform==0.8.6

python-terraform 0.8.52017-05-11T17:30:59Windows:

py -m pip install python-terraform==0.8.5

Unix/macOs:

pip install python-terraform==0.8.5

python-terraform 0.8.42017-04-20T07:51:09Windows:

py -m pip install python-terraform==0.8.4

Unix/macOs:

pip install python-terraform==0.8.4

python-terraform 0.8.22017-01-04T07:33:57Windows:

py -m pip install python-terraform==0.8.2

Unix/macOs:

pip install python-terraform==0.8.2

python-terraform 0.8.12016-12-20T17:00:38Windows:

py -m pip install python-terraform==0.8.1

Unix/macOs:

pip install python-terraform==0.8.1

python-terraform 0.8.02016-12-20T15:33:46Windows:

py -m pip install python-terraform==0.8.0

Unix/macOs:

pip install python-terraform==0.8.0

python-terraform 0.7.72016-11-24T08:25:54Windows:

py -m pip install python-terraform==0.7.7

Unix/macOs:

pip install python-terraform==0.7.7

python-terraform 0.7.62016-11-19T18:13:47Windows:

py -m pip install python-terraform==0.7.6

Unix/macOs:

pip install python-terraform==0.7.6

python-terraform 0.7.52016-11-19T17:52:50Windows:

py -m pip install python-terraform==0.7.5

Unix/macOs:

pip install python-terraform==0.7.5

python-terraform 0.7.42016-11-19T17:30:08Windows:

py -m pip install python-terraform==0.7.4

Unix/macOs:

pip install python-terraform==0.7.4


Step 4: Otherwise, you can install python-terraform from local archives:

Download the distribution file from python-terraform-0.10.1.tar.gz or the specific python-terraform version in the below list of distribution

After that, install by command:

On Windows(CMD):

py -m pip install <path_to_python-terraform_downloaded_file>

On Unix/macOs:

pip install <path_to_python-terraform_downloaded_file>


List distribution:


Project link:

- Homepage