0

I am trying to import matplotlib into an iPython notebook using Wakari, with the Anaconda environment np18py27-1.9. I am importing using:

 %matplotlib inline
 import matplotlib.pyplot as plt

This yields the error:

 ImportError: libpng15.so.15: cannot open shared object file: No such file or directory

Because it is Wakari, I don't think I can update or reinstall the matplotlib package. Importing pylab throws the same error. Do you have any suggestions? Thanks for your help.

Edit:

I was able to update matplotlib in my Wakari environment. I am now getting the following error:

  ImportError: libXext.so.6: cannot open shared object file: No such file or directory
Zach Fox
  • 586
  • 3
  • 7

1 Answers1

1

Well .so files are shared libraries and (for what reasons I have no idea) you don't have them.

For your second error regarding libXext.so the answers generally suggested are sudo apt-get update && sudo apt-get install libxtst6

Community
  • 1
  • 1
Dimitris Fasarakis Hilliard
  • 150,925
  • 31
  • 268
  • 253