archinstall/docs/installing/python.rst

1022 B

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> </head>

Python library

Archinstall shipps on PyPi as archinstall. But the library can be installed manually as well.

Using PyPi

The basic concept of PyPi applies using pip. Either as a global library:

sudo pip install archinstall

Or as a user module:

pip --user install archinstall

Which will allow you to start using the library.

System Message: WARNING/2 (<stdin>, line 27)

malformed hyperlink target.

Manual installation

You can either download the github repo as a zip archive. Or you can clone it, we'll clone it here but both methods work the same.

git clone https://github.com/Torxed/archinstall

Either you can move the folder into your project and simply do

System Message: WARNING/2 (<stdin>, line 41)

Cannot analyze code. Pygments package not found.

.. code-block:: python

    import archinstall

Or you can use setuptools to install it into the module path.

sudo python setup.py install
</html>