ich derzeit spyder bin mit 3.6 auf Windows 8 OS und wenn ich diesen Code ausführen es zeigt einen FehlerWie pydotplus in spyder importieren 3.6
Datei "", Zeile 12, in Import pydotplus
ModuleNotFoundError: Kein Modul namens 'pydotplus'
Hier ist der Code
import pydotplus
dot_data = tree.export_graphviz(clf, out_file=None)
graph = pydotplus.graph_from_dot_data(dot_data)
graph.write_pdf("iris.pdf")
from IPython.display import Image
dot_data = tree.export_graphviz(clf, out_file=None,feature_names=iris.feature_names,
class_names=iris.target_names,
filled=True, rounded=True,
special_characters=True)
graph = pydotplus.graph_from_dot_data(dot_data)
Image(graph.create_png())
Nun, dann sollten Sie das Modul zunächst _installieren_. – ForceBru
Aber können Sie mir bitte sagen, wie Sie es installieren? Ich finde keine Dokumentationen im Internet. Können Sie mir bitte helfen? – Saradamani
haben Sie versucht, auf Stack Overflow selbst zu suchen? Ich habe es gefunden: http://stackoverflow.com/questions/10729116/adding-a-module-specifical-pymorph-to-spyder-python-ideal – ForceBru