Skip to content

Files

Latest commit

 

History

History
35 lines (25 loc) · 1020 Bytes

install.md

File metadata and controls

35 lines (25 loc) · 1020 Bytes
orphan
true

Installation

Pip

It is recommended to install pyinfra using pip:

pip install pyinfra

Windows

Tested on WindowsServer2019 with python 3.7.

If you need to build any python packages on Windows, perhaps because one of the pip packages above fails, you may need a c++ compiler. One possible solution is below.

  • Download Visual Studio Community Edition https://visualstudio.microsoft.com/downloads/ and install Visual Studio as Administrator. Select the "Desktop development with C++" option and ensure at least these options are selected:

    • "MSVC v142..."
    • "Windows 10 SDK..."
    • "C++ cmake tools for windows"
    • "C++ ATL for latest..."
    • "C++/cli support for v142..."
    • "C++ Modules for v142..."