0

So, yesterday I could run python scripts just fine. I also had numpy installed and tested on my system. From here, I proceeded to install opencv on my Mac following this link.

Afterwards, I tested it and it worked fine. Then I installed pyOSC.

Then I proceeded to use two example scripts to test that it was working fine, and it was.

Then, I updated python on my system, and now it can't find OSC and numpy whenever I try to call them (from the python interpreter or another script). When I run pip list I can see that they're still installed. I'm pretty sure this is the root of the issue, I'm just not sure how to fix it without uninstalling and re-installing everything.

Any Ideas? Currently running python 2.7

EDIT I had the version of python that came with the system and I downloaded the new version of python from python.org because I was having issues with segmentation fault 11 error.

Community
  • 1
  • 1
Tabrock
  • 1,120
  • 1
  • 20
  • 37
  • Please state how you originally installed python (is it the system one?) and how you "updated python". – mdurant Nov 11 '15 at 04:30

1 Answers1

0

After some googling I figured it out.

I used type -a python to see all versions I had of python. Weirdly enough, I had the Mac System version as /usr/bin/python and then I had two entries under /usr/local/bin/python. I deleted both of these and now everything is working properly.

Tabrock
  • 1,120
  • 1
  • 20
  • 37
  • For future reference, you may wish to consider the anaconda python distribution. One advantage, aside from many precompiled packages and enviromenting system, is isolating you working python from the system python. – mdurant Nov 12 '15 at 01:49