I don’t have root access on this Macintosh that I’m using. How am I supposed to get the
pip package manager for Python?
Python comes installed on every Macintosh.
Step 1) Get easy_install
easy_install is a Python utility for installing certain Python related packages.
You might already have
easy_install! To check:
If you don’t have
easy_install, you can install
easy_install for the user.
wget --no-check-certificate https://bootstrap.pypa.io/ez_setup.py -O - | python - --user
Installing easy_install script to /Users/.../Library/Python/2.7/bin Installing easy_install-2.7 script to /Users/.../Library/Python/2.7/bin
Step 2) Install pip as user
easy_install --user pip
Searching for pip Best match: pip 8.1.2 Adding pip 8.1.2 to easy-install.pth file Installing pip script to /Users/.../Library/Python/2.7/bin Installing pip3.5 script to /Users/.../Library/Python/2.7/bin Installing pip3 script to /Users/.../Library/Python/2.7/bin Using /Users/.../Library/Python/2.7/lib/python/site-packages Processing dependencies for pip Finished processing dependencies for pip
Step 3) pip install –user
You will be able to install
pip packages as the user.
pip install --user xlsx2Csv
Collecting xlsx2Csv Installing collected packages: xlsx2Csv Successfully installed xlsx2Csv-0.7.2
Let me know if you encounter any problems while installing
pip as a user.