繁体   English   中英

自制python安装选项

[英]Homebrew python installation options

我已经在线阅读了多个使用Homebrew安装python的资源,并且都建议使用以下命令:

brew install python --universal --framework

但是,当我尝试探索python的选项时,-- --framework不在列表中。 如何验证框架已安装?

brew options python

--quicktest
    Run `make quicktest` after the build (for devs; may fail)
--universal
    Build a universal binary
--with-brewed-openssl
    Use Homebrew's openSSL instead of the one from OS X
--with-brewed-tk
    Use Homebrew's Tk (has optional Cocoa and threads support)
--with-dtrace
    Experimental DTrace support (http://bugs.python.org/issue13405)
--with-poll
    Enable select.poll, which is not fully implemented on OS X (http://bugs.python.org/issue5154)
--without-gdbm
    Build without gdbm support
--without-readline
    Build without readline support
--without-sqlite
    Build without sqlite support
--HEAD
    install HEAD version

现在,Homebrew默认将Python构建为框架。

暂无
暂无

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

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