当命令`Brew install python @ 2`时出现错误-`Theme error`。怎么解决?

Ale*_*mov 3 python macos homebrew

什么时候 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
Run Code Online (Sandbox Code Playgroud)

什么时候: brew doctor

然后: Your system is ready to brew.

作业系统- Mac Mojave

有什么想法是什么以及如何解决?

小智 16

I had this same problem.

What I did was

$ brew install --debug --verbose python@2
Run Code Online (Sandbox Code Playgroud)

At the HTML failure point, I reached this:

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
Run Code Online (Sandbox Code Playgroud)

I chose (2), Ignore - And the setup continued as expected.