Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Mac OS X 10.10 Meld Error

I have both Python 2.7 and Python 3.4 installed on my MacBook, as both are needed sometimes.

Python 2.7 is shipped by Apple itself. Python 3.4 is installed by Mac OS X 64-bit/32-bit installer in the link https://www.python.org/downloads/release/python-343/

Here is how I installed Meld on Mac OS X 10.10:

  1. Install apple development command line tools;
  2. Install Homebrew;
  3. homebrew install homebrew/x11/meld
  4. When launched meld, it says:

    **bash: /usr/local/bin/meld: /usr/local/opt/python/bin/python2.7: bad interpreter: No such file or directory**
    

From my research, some people recommend to modify the first line in /usr/local/bin/pip, i.e.,

#!/usr/local/opt/python/bin/python2.7

This file is missing. However, if I want to be able to use both Python 2.7 and Python 3.4 for Meld, what should I do to make it work?

like image 308
day Avatar asked Aug 11 '15 02:08

day


People also ask

Does meld work on Mac?

This is a fork of Meld packaged and bundled for OSX. The original website for Meld is here https://meld.app. Minor work has been done to also integrate OSX menu and shortcuts, but the app is truly the original, excellent Meld.

Why does my macOS update keep failing?

Apart from Mac compatibility, the other possible reasons why macOS won't update include poor network connection, the lack of disk space, Apple server issues, and more.


1 Answers

This should solve the problem: brew link --overwrite python

like image 91
Sohail Avatar answered Oct 11 '22 05:10

Sohail