Skip to content
Phillip Koops edited this page Feb 10, 2019 · 4 revisions

Installing pip on mac os x 10.4 (or 10.3)

first you need to install setuptools otherwise you will see this error:

$ python setup.py install
Traceback (most recent call last):
  File "setup.py", line 6, in <module>
    from setuptools import find_packages, setup
ImportError: No module named setuptools

Download setuptools-33.1.1.zip then extract

cd ../setuptools-33.1.1
$sudo python setup.py install
[...]
Installed /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/setuptools-33.1.1-py2.7.egg
Processing dependencies for setuptools==33.1.1
Finished processing dependencies for setuptools==33.1.1

Then download: - pip from the pip-19.0.2.tar.gz then type this from the command line

cd ./pip-19.0.2 user$ python setup.py install
[...]
Installed /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pip-19.0.2-py2.7.egg
Processing dependencies for pip==19.0.2
Finished processing dependencies for pip==19.0.2
$pip list

once you want to install a pip package - for example "cobe" just download the package "cobe-master" extract it and then use this command line:

$ pip install cobe-master/

make sure the package is installed

$pip list

or open python

$ python
Python 2.7.6 (v2.7.6:3a1db0d2747e, Nov 10 2013, 00:18:52)
[GCC 4.0.1 (Apple Inc. build 5493)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import cobe
>>> help(cobe)
Clone this wiki locally