sinθ
sinθ

Reputation: 11493

Zope installed to wrong version (easy_install and pip)

I downloaded the python egg for zope.interface version 4.0.5 and tried to install it with easy_install and then pip. Both installed it to python 2.7, which is the default on my computer. Is there any way to install it to python3?

I'm on Mac OSX 10.8.3. I've looked around for some solution, but the only one I found with this problem was here: easy_install with various versions of python installed, mac osx, but the answer doesn't work.

Upvotes: 1

Views: 344

Answers (1)

demure
demure

Reputation: 7627

I would suggest installing the Homebrew package manager, and installing python 3 with it.

Installing Homebrew:

ruby -e "$(curl -fsSL https://raw.github.com/mxcl/homebrew/go)"

Installing Python 3

brew install python3

  • Pip for Python 3 would be installed as pip3 by the above command.
  • easy_install is depretiated with homebrew, and you don't need to use sudo with pip3 or gem

Note, easy_install is deprecated. We install pip (or pip3 for python3) along with python/python3.

source

Upvotes: 1

Related Questions