我尝试使用乳胶中的minted
包在乳胶文档中显示代码。我收到一条错误消息“您必须安装pygmentize”才能使用此软件包。因此,我尝试使用Pygments
brew
我输入了以下行brew install Pygments
,但收到了以下消息
==> Searching for a previously deleted formula (in the last month)...
Warning: homebrew/core is shallow clone. To get complete history run:
git -C "$(brew --repo homebrew/core)" fetch --unshallow
Error: No previously deleted formula found.
==> Searching for similarly named formulae...
Error: No similarly named formulae found.
==> Searching taps...
==> Searching taps on GitHub...
Error: No formulae found in taps.
顺便说一句,如果我输入pip3 install pygments
,我会得到
Requirement already satisfied: pygments in /usr/local/lib/python3.7/site-packages (2.3.1)
表示pip3
已安装在计算机上,但homebrew
不知道它在哪里
我在做什么错了?