Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #60059

Re: How to install pip for python3 on OS X?

From Ned Deily <nad@acm.org>
Subject Re: How to install pip for python3 on OS X?
Date 2013-11-19 23:27 -0800
References <1384797189.5610.10.camel@Xjuan> <201311182112.28092.gheskett@wdtv.com> <1384874917.5610.37.camel@Xjuan> <201311191057.55727.gheskett@wdtv.com> <6856A21C-57E8-4CDD-A9E8-5DD738C368A5@gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.2956.1384932471.18130.python-list@python.org> (permalink)

Show all headers | View raw


In article <6856A21C-57E8-4CDD-A9E8-5DD738C368A5@gmail.com>,
 Travis Griggs <travisgriggs@gmail.com> wrote:

> OSX (Mavericks) has python2.7 stock installed. But I do all my own personal 
> python stuff with 3.3. I just flushed my 3.3.2 install and installed the new 
> 3.3.3. So I need to install pyserial again. I can do it the way I've done it 
> before, which is:
> 
> Download pyserial from pypi
> untar pyserial.tgz
> cd pyserial
> python3 setup.py install
> But I'd like to do like the cool kids do, and just do something like pip3 
> install pyserial. But it's not clear how I get to that point. And just that 
> point. Not interested (unless I have to be) in virtualenv 
> yet.---------------------------------------------------------------------

http://www.pip-installer.org/en/latest/installing.html

# download and install setuptools
curl -O https://bitbucket.org/pypa/setuptools/raw/bootstrap/ez_setup.py
python3 ez_setup.py
# download and install pip
curl -O https://raw.github.com/pypa/pip/master/contrib/get-pip.py
python3 get-pip.py
# use pip to install
python3 -m pip install pyserial
# Don't want it?
python3 -m pip uninstall pyserial

-- 
 Ned Deily,
 nad@acm.org

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: How to install pip for python3 on OS X? Ned Deily <nad@acm.org> - 2013-11-19 23:27 -0800

csiph-web