

Npm is a package management tool for nodejs, it behaves like pip for python, cpan for perl Homebrew is a software management tool for MAC OS, it behaves like yum in centos, apt in ubuntu. If anyone could help me clear up and explain what the relationship between these things are


After which, I would like to reinstall the things needed for me to run Python again, as well as install Python packages such as numpy, OpenCV, etc.Īlso, if anyone could help me clear up and explain what the relationship between these things are (homebrew, pip, python, etc), it would help me understand this better and aid in my future practices of downloading and installing files/packages. What I would ultimately like to achieve is to clean and tidy up this mess, and uninstall all packages/programs I have previously installed that relates to pip, python, homebrew, nnpm and anything else related to these. I see Multiple versions of the same things (like pip, pip2, pip2.7, pip3, pip3.6) for different installed programs on my computer. RemoteUpdateManager nosetests python3-config To give you an idea: ls /usr/local/bin returns 2to3 install-info pydoc3.6 Now, I check /usr/local/bin and see a huge mess of files. In fact, anything to do with pip commands (e.g. ImportError: Entry point ('console_scripts', 'pip') not found Raise ImportError("Entry point %r not found" % ((group, name),)) Return get_distribution(dist).load_entry_point(group, name)įile "/System/Library/Frameworks/amework/Versions/2.7/Extras/lib/python/pkg_resources/_init_.py", line 2696, in load_entry_point Load_entry_point('pip=9.0.1', 'console_scripts', 'pip')()įile "/System/Library/Frameworks/amework/Versions/2.7/Extras/lib/python/pkg_resources/_init_.py", line 565, in load_entry_point Now, after running that last command and trying to update pip pip install -upgrade pip, I get: Traceback (most recent call last): Looking around stackoverflow, I tried to change some permissions of the files and folders involved: sudo chmod -R 777 /Library/Python/2.7/site-packages/pip-9.0.1-py2.7.egg/EGG-INFO/ Recently, I tried to install the OpenCV package, but was met with some errors, which led my to try to update pip, which lead me to some permission errors. In the past, I have installed things like homebrew, pip, python, nnpm and some other things that I don't even remember. I want to clean up my installations on my MacBook Pro at the moment.
