Search code examples
pythonlibraries

Libraries disappeared overnight


Last night I was using matplotlib, pylab, and pandas. This morning none of them work and I can't figure out what happened. Is there a reason why all of my libraries would vanish?

Using OS X if that matters.

I'm new to programming, and I installed ipython and the packages I've been using, along with qtinstaller from a tutorial I found, but I'm lost. Is there an obvious solution to why the libraries could disappear, or an easy way to completely wipe all of my python apps and start over? I don't have my computer backed up so if I go that route I need a way to keep my files

Thanks, Josh


Solution

  • Try using the which command to see if the path to Python has changed.

    $ which python
    /usr/bin/python
    

    Most likely, your packages were installed in usr/bin/python and installing ipython changed it to something else.