简体   繁体   English

如何在Mac上使用python绑定安装Subversion

[英]How to install Subversion with python bindings on Mac

I'm doing: 我正在做:

$ brew install subversion --with-python

Yet, homebrew reports: 然而,自制报告:

Warning: subversion: this formula has no --with-python option so it will be ignored!

It goes on to install subversion, as that was only a warning, but I need the Python bindings too. 它继续安装subversion,因为这只是一个警告,但是我也需要Python绑定。

I tried --with-python in other positions, but it does not make any difference. 我在其他位置尝试了--with-python ,但没有任何区别。

Here's all the output: 这是所有输出:

Warning: subversion: this formula has no --with-python option so it will be ignored!
==> Downloading https://homebrew.bintray.com/bottles/subversion-1.10.2.high_sierra.bottle.tar.gz
Already downloaded: /Users/paul/Library/Caches/Homebrew/downloads/cd34819a835db41e326680b8e94b4343ee0d98f68456b42c03fd1895c77b65c7--subversion-1.10.2.high_sierra.bottle.tar.gz
==> Pouring subversion-1.10.2.high_sierra.bottle.tar.gz
==> Caveats
svntools have been installed to:
  /usr/local/opt/subversion/libexec

The perl bindings are located in various subdirectories of:
  /usr/local/opt/subversion/lib/perl5

If you wish to use the Ruby bindings you may need to add:
  /usr/local/lib/ruby
to your RUBYLIB.

Bash completion has been installed to:
  /usr/local/etc/bash_completion.d
==> Summary
🍺  /usr/local/Cellar/subversion/1.10.2: 244 files, 30.4MB

Other info: I'm on macOS 10.13.6. 其他信息:我在macOS 10.13.6上。 Homebrew was upgraded today (no upgrades pending). Homebrew今天已升级(没有任何升级待定)。 There's a info page https://formulae.brew.sh/formula/subversion that suggests that --with-python is a real option, but that's not something the install command agrees with. 有一个信息页面https://formulae.brew.sh/formula/subversion提示--with-python是一个真实的选择,但这不是install命令所同意的。 At least on my computer. 至少在我的电脑上。 Swig is install on my mac (v3.0.12) via brew. Swig通过brew安装在我的mac(v3.0.12)上。

https://formulae.brew.sh/formula/subversion is out of date. https://formulae.brew.sh/formula/subversion已过期。 The --with-python argument is not supported because the formula does the Python steps by default now. 不支持--with-python参数,因为默认情况下该公式会执行Python步骤。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM