Brew fails to install Python: can not symlink

Jim

I'm trying to install python 2.7 on the latest version of OSX using brew but I get the following error...

.app bundles were installed.
Run `brew linkapps` to symlink these to /Applications.
Warning: Could not link python. Unlinking...
Error: The `brew link` step did not complete successfully
The formula built, but is not symlinked into /usr/local
You can try again using `brew link python'

Possible conflicting files are:
/usr/local/bin/pip
/usr/local/bin/easy_install-2.7
/usr/local/bin/easy_install

Would anyone know how to fix this error? I tried brew link python but this did not work. I'm new to Linux/OSX, so if this is really obvious, I would still appreciate it if someone could point me in the right direction!

Nils

The error means those files already exist in /usr/local/bin

If you 'ls -lF' on that dir, are they sym links that point to a path with the word 'cellar' in it?

If so, then brew already put them in place for you. Your are probably missing /usr/local/bin from your PATH

If not, then something else put them there earlier. On a fresh mac, that directory is empty. Brew is a better way to manage those files, so if it was my machine I would remove those files from /usr/local/bin, then you can run brew link. I'd probably keep them in another spot temporarily in case I later discovered a need for them.

Also, run 'brew doctor' when you have a chance. It will tell you about any other problems like this.

Brew wants to own /usr/local/bin. I would let it, it's a great tool.

本文收集自互联网,转载请注明来源。

如有侵权,请联系[email protected] 删除。

编辑于
0

我来说两句

0条评论
登录后参与评论

相关文章

来自分类Dev

brew install python错误:拒绝卸载

来自分类Dev

brew install python,但是:“ python-2.7.6已经安装,它没有被链接”

来自分类Dev

brew install libusb链接失败

来自分类Dev

如何删除brew install bash

来自分类Dev

brew install python / matplotlib无法正常工作:没有名为_tkinter的模块

来自分类Dev

当命令`Brew install python @ 2`时出现错误-`Theme error`。怎么解决?

来自分类Dev

brew install npm“ npm:找不到命令”

来自分类Dev

brew install gcc / Mac OS 10.9小牛

来自分类Dev

brew install节点卡在“ make install”上

来自分类Dev

在Mac OS X Mavericks上brew install zlib-devel

来自分类Dev

brew install zlib-devel on Mac OS X Mavericks

来自分类Dev

brew install veclibfort:gfortran:没有这样的文件或目录

来自分类Dev

brew install-权限被拒绝(在chown -R`whoami`之后)

来自分类Dev

brew install php55-intl失败,无法安装Composer

来自分类Dev

brew install php56-mongo命令不起作用

来自分类Dev

brew install hbase尝试安装hadoop,尽管已经存在

来自分类Dev

使用brew install optipng对optipng安装进行故障排除

来自分类Dev

brew install php55-intl失败,无法安装Composer

来自分类Dev

Brew无法安装Python:无法符号链接

来自分类Dev

Brew-安装python3.3

来自分类Dev

通过python virtualenvwrapper链接到brew openssl

来自分类Dev

当我命令“ brew cask install virtualbox”或“ brew cask search google-chrome”时发生自制错误

来自分类Dev

当我命令“ brew cask install virtualbox”或“ brew cask search google-chrome”时发生自制错误

来自分类Dev

brew install rbenv错误:已安装rbenv-rbenv要安装此版本,请首先`brew unlink rbenv`。

来自分类Dev

我应该从哪里安装 git:xcode-select --install 或 brew install git?

来自分类Dev

Can't install Python Imaging Library using pip

来自分类Dev

如何让我的Mac使用Brew的已安装python?

来自分类Dev

OSX Brew Python“找不到满足pyopencv要求的版本”

来自分类Dev

升级OpenCV brew公式:Python无法正确加载

Related 相关文章

  1. 1

    brew install python错误:拒绝卸载

  2. 2

    brew install python,但是:“ python-2.7.6已经安装,它没有被链接”

  3. 3

    brew install libusb链接失败

  4. 4

    如何删除brew install bash

  5. 5

    brew install python / matplotlib无法正常工作:没有名为_tkinter的模块

  6. 6

    当命令`Brew install python @ 2`时出现错误-`Theme error`。怎么解决?

  7. 7

    brew install npm“ npm:找不到命令”

  8. 8

    brew install gcc / Mac OS 10.9小牛

  9. 9

    brew install节点卡在“ make install”上

  10. 10

    在Mac OS X Mavericks上brew install zlib-devel

  11. 11

    brew install zlib-devel on Mac OS X Mavericks

  12. 12

    brew install veclibfort:gfortran:没有这样的文件或目录

  13. 13

    brew install-权限被拒绝(在chown -R`whoami`之后)

  14. 14

    brew install php55-intl失败,无法安装Composer

  15. 15

    brew install php56-mongo命令不起作用

  16. 16

    brew install hbase尝试安装hadoop,尽管已经存在

  17. 17

    使用brew install optipng对optipng安装进行故障排除

  18. 18

    brew install php55-intl失败,无法安装Composer

  19. 19

    Brew无法安装Python:无法符号链接

  20. 20

    Brew-安装python3.3

  21. 21

    通过python virtualenvwrapper链接到brew openssl

  22. 22

    当我命令“ brew cask install virtualbox”或“ brew cask search google-chrome”时发生自制错误

  23. 23

    当我命令“ brew cask install virtualbox”或“ brew cask search google-chrome”时发生自制错误

  24. 24

    brew install rbenv错误:已安装rbenv-rbenv要安装此版本,请首先`brew unlink rbenv`。

  25. 25

    我应该从哪里安装 git:xcode-select --install 或 brew install git?

  26. 26

    Can't install Python Imaging Library using pip

  27. 27

    如何让我的Mac使用Brew的已安装python?

  28. 28

    OSX Brew Python“找不到满足pyopencv要求的版本”

  29. 29

    升级OpenCV brew公式:Python无法正确加载

热门标签

归档