[英]I can't install packages for Python with Homebrew
我使用以下語句“ $ brew install python”來安裝Python,然后鍵入此語句“ $ pip install virtualenvwrapper”。 表明:
-bash: /usr/local/bin/pip: /usr/local/opt/python/bin/python2.7: bad interpreter: No such file or directory
我不知道為什么 然后我再次輸入以下語句“ $ brew install python”,它顯示:
Warning: python-2.7.10_2 already installed, it's just not linked
為什么不鏈接Python? 此問題是否導致無法安裝virtualenvwrapper? 我已經多次卸載了Python。 但是我仍然無法為Python安裝軟件包。
這是我的計算機信息。 Mac OS X Yosemite版本10.10.5,以及我通過自制軟件安裝的Python版本是2.7.10。
提前致謝!
嘗試再次安裝(覆蓋當前安裝)python
brew link --overwrite python
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.