Когда команда `Brew устанавливает python @ 2`, появляется ошибка -` Theme error`. Как решить? - PullRequest
3 голосов
/ 02 апреля 2019

Когда brew install python@2

Затем возникает ошибка:

==> make html
Last 15 lines from /Users/oleksandr-yefymov/Library/Logs/Homebrew/python@2/05.make:
writing output... [ 98%] whatsnew/2.1
writing output... [ 98%] whatsnew/2.2
writing output... [ 98%] whatsnew/2.3
writing output... [ 99%] whatsnew/2.4
writing output... [ 99%] whatsnew/2.5
writing output... [ 99%] whatsnew/2.6
writing output... [ 99%] whatsnew/2.7
writing output... [100%] whatsnew/index

generating indices... genindex py-modindex
writing additional pages... download index
Theme error:
An error happened in rendering the page index.
Reason: TemplateNotFound()
make: *** [build] Error 2

READ THIS: https://docs.brew.sh/Troubleshooting

Когда: brew doctor

Затем: Your system is ready to brew.

ОС -Mac Mojave

Есть идеи, что это такое и как решить?

Ответы [ 2 ]

16 голосов
/ 02 апреля 2019

У меня была такая же проблема.

То, что я сделал, было

$ brew install --debug --verbose python@2

В точке сбоя HTML я достиг этого:

debrew.rb:11:in `raise'
BuildError: Failed executing: make html
1. raise
2. ignore
3. backtrace
4. irb
5. shell
Choose an action: 2
==> Cleaning

Я выбрал (2), Игнорировать - И установка продолжилась, как и ожидалось.

0 голосов
/ 10 апреля 2019

Я встретил ту же проблему и решил ее, игнорируя шаг make html, под CentOS7 с linuxbrew.

...