亚洲在线久爱草,狠狠天天香蕉网,天天搞日日干久草,伊人亚洲日本欧美

為了賬號安全,請及時綁定郵箱和手機立即綁定
已解決430363個問題,去搜搜看,總會有你想問的

在系統外部修復神秘的Python配置腳本

在系統外部修復神秘的Python配置腳本

qq_遁去的一_1 2021-03-19 18:10:54
我brew doctor今天做這件事時得到了這個通知:Warning: "config" scripts exist outside your system or Homebrew directories.`./configure` scripts often look for *-config scripts to determine ifsoftware packages are installed, and what additional flags to use whencompiling and linking.Having additional scripts in your path can confuse software installed viaHomebrew if the config script overrides a system or Homebrew providedscript 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正常工作,我一直在關注該文章。有任何想法嗎?我相信符號鏈接可能會出問題,而且我對如何解決這些問題一無所知。
查看完整描述

2 回答

?
ABOUTYOU

TA貢獻1812條經驗 獲得超5個贊

我在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-config


Warning: 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_64

export EPDPATH="/Library/Frameworks/EPD64.framework/Versions/Current"

export PATH="$EPDPATH/bin:${PATH}"

export PYTHONPATH="$EPDPATH/lib/python2.7/site-packages"


查看完整回答
反對 回復 2021-03-31
  • 2 回答
  • 0 關注
  • 195 瀏覽
慕課專欄
更多

添加回答

舉報

0/150
提交
取消
微信客服

購課補貼
聯系客服咨詢優惠詳情

幫助反饋 APP下載

慕課網APP
您的移動學習伙伴

公眾號

掃描二維碼
關注慕課網微信公眾號