在系统外部修复神秘的Python配置脚本

我brew doctor今天做这件事时得到了这个通知:


Warning: "config" scripts exist outside your system or Homebrew directories.

`./configure` scripts often look for *-config scripts to determine if

software packages are installed, and what additional flags to use when

compiling and linking.


Having additional scripts in your path can confuse software installed via

Homebrew if the config script overrides a system or Homebrew provided

script of the same name. We found the following "config" scripts:


/Library/Frameworks/Python.framework/Versions/3.3/bin/python3-config

/Library/Frameworks/Python.framework/Versions/3.3/bin/python3.3-config

/Library/Frameworks/Python.framework/Versions/3.3/bin/python3.3m-config

/Library/Frameworks/Python.framework/Versions/2.7/bin/python-config

/Library/Frameworks/Python.framework/Versions/2.7/bin/python2-config

/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7-config

我在Mac OSX Mountain Lion上,并通过Homebrew安装了Python和Python 3。我认为我的设置有问题与这篇文章有关,为了使MacVim正常工作,我一直在关注该文章。


有任何想法吗?我相信符号链接可能会出问题,而且我对如何解决这些问题一无所知。


qq_遁去的一_1
浏览 184回答 2
2回答

ABOUTYOU

我在EPD和Anaconda Python上都遇到了同样的问题。由于我发现Homebrew Python无法进行数值分析,因此我不得不放弃Homebrew软件包管理器,因为它几乎没有支持。请参阅我在2013年9月25日发表的帖子。带有自制软件和EPD 7.3-2(64位)的os x山狮玩起来不太好Last login: Tue Sep 24 05:28:30 on ttys004 ~ ❯❯❯ echo $PATH /Users/mlb/.rbenv/shims:/usr/local/bin:/usr/local/sbin:/Library/Frameworks/EPD64.framework/Versions/Current/bin:/usr/bin:/bin:/usr/sbin:/sbin ~ ❯❯❯ which python /Library/Frameworks/EPD64.framework/Versions/Current/bin/python ~ ❯❯❯ python --version Python 2.7.3 -- EPD 7.3-2 (64-bit) ~ ❯❯❯ brew doctor Warning: "config" scripts exist outside your system or Homebrew directories. `./configure` scripts often look for *-config scripts to determine if software packages are installed, and what additional flags to use when compiling and linking.Having additional scripts in your path can confuse software installed via Homebrew if the config script overrides a system or Homebrew provided script of the same name. We found the following "config" scripts:/Library/Frameworks/EPD64.framework/Versions/Current/bin/gdal-config /Library/Frameworks/EPD64.framework/Versions/Current/bin/python-config /Library/Frameworks/EPD64.framework/Versions/Current/bin/python2-config /Library/Frameworks/EPD64.framework/Versions/Current/bin/python2.7-config /Library/Frameworks/EPD64.framework/Versions/Current/bin/xml2-config /Library/Frameworks/EPD64.framework/Versions/Current/bin/xslt-configWarning: Enthought Python was found in your PATH. This can cause build problems, as this software installs its own copies of iconv and libxml2 into directories that are picked up by other build systems..zprofile---------# Setting PATH for epd-7.3-2-macosx-x86_64export EPDPATH="/Library/Frameworks/EPD64.framework/Versions/Current"export PATH="$EPDPATH/bin:${PATH}"export PYTHONPATH="$EPDPATH/lib/python2.7/site-packages"
打开App,查看更多内容
随时随地看视频慕课网APP

相关分类

Python