/
githubmirror
/
gpt-engineer
Обзор
Документация
Войти
/
githubmirror
/
gpt-engineer
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
docs/installation.rst
67 строк
2 KB
captivus
Update bug report template to include installation method
25 июл 2024, 15:08
25 июл 2024, 15:08
bd5b485
Код
Авторство
О чём код?
.. highlight:: shell ============ Installation ============ Stable release -------------- To install ``gpt-engineer``, run this command in your terminal: .. code-block:: console $ python -m pip install gpt-engineer This is the preferred method to install ``gpt-engineer``, as it will always install the most recent stable release. If you don't have `pip`_ installed, this `Python installation guide`_ can guide you through the process. .. note:: When reporting bugs, please specify your installation method (using `pip install` or by building the repository) in the "Installation Method" section of the bug report template. .. _pip: https://pip.pypa.io .. _Python installation guide: http://docs.python-guide.org/en/latest/starting/installation/ From sources ------------ The sources for ``gpt-engineer`` can be downloaded from the `Github repo`_. You can either clone the public repository: .. code-block:: console $ git clone https://github.com/gpt-engineer-org/gpt-engineer.git Once you have a copy of the source, you can install it with: .. code-block:: console $ cd gpt-engineer $ poetry install $ poetry shell .. _Github repo: https://github.com/gpt-engineer-org/gpt-engineer.git Troubleshooting --------------- For mac and linux system, there are sometimes slim python installations that do not include the ``gpt-engineer`` requirement tkinter, which is a standard library and thus not pip installable. To install tkinter on mac, you can for example use brew: .. code-block:: console $ brew install python-tk On debian-based linux systems you can use: .. code-block:: console $ sudo apt-get install python3-tk