ich bin python-anfänger und arbeite gerade mit dem buch https://www.amazon.com/Scientific-Compu ... 1786463512, zu dem es auch auf github https://github.com/PacktPublishing/Scie ... h-Python-3 zugehörigen code gibt.
wenn ich https://github.com/PacktPublishing/Scie ... icTypes.py in pycharm ausführen möchte, insbesondere:
Code: Alles auswählen
from scipy import *
from matplotlib.pyplot import *
get_ipython().magic('matplotlib inline')
from IPython.core.interactiveshell import InteractiveShell
InteractiveShell.ast_node_interactivity = "all"
Code: Alles auswählen
NameError: name 'get_ipython' is not defined

das gleiche script gibt es auch als jupyter-notebook https://github.com/PacktPublishing/Scie ... ypes.ipynb, wenn ich das ausführe, kommt:
Code: Alles auswählen
ModuleNotFoundError: No module named 'matplotlib'