Search code examples
pythonmacospipeasy-install

installed pip package not found


I was just given a new mac and after installing pip and lcc through pip I get a command not found error when running lcc run.

When running help("modules") inside of python I can see the lcc package there.

the same goes for pip freeze

pip freeze | grep lemon lemoncheesecake==0.15.2

I'm running out of ideas.....

maybe I messed up the pip installation because I did it first with:

python get-pip.py

and then with

sudo easy_install pip

how do I fix this?

this is my echo $PATH
/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin

Thanks


Solution

  • From what you're saying it seems that your python installation is not quite right, and Mac's version of python is also not quite right by default, you can read more about it here: http://docs.python-guide.org/en/latest/starting/install/osx/#doing-it-right

    Also, I would highly advise that when you get a brand new Mac and plan to do some development work as a rule of thumb follow these steps:

    1. Install xcode
    2. Install Homebrew

    Then you can install anything else you want.