2015-09-04 5 views
9

Hier ist meine Python-Import-AnweisungenAnaconda Import: libSM.so.6: kann nicht mit anderen geteilt Objektdatei öffnen: Keine solche Datei oder das Verzeichnis

import plotly as py 
import pandas as pd 
import numpy as np 

import plotly.plotly as py 
import plotly.tools as plotly_tools 
from plotly.graph_objs import * 

os.environ['MPLCONFIGDIR'] = tempfile.mkdtemp() 
from matplotlib.finance import quotes_historical_yahoo 
import matplotlib.pyplot as plt 

from scipy.stats import gaussian_kde 

from IPython.display import HTML 

Es wirft und Import ImportError: libSM.so.6: cannot open shared object file: No such file or directory

Ich weiß, es ist Problem bei dieser Import-Anweisung import matplotlib.pyplot as plt

Antwort

20

diesen Befehl Versuchen Sie, wenn Sie ubuntu verwenden: pyqt4 könnte fehlen

sudo apt-get install -y python-qt4 

Es ist für mich gearbeitet.

Verwandte Themen