Hello, tell me how to fix the error:
ERROR:root:Line magic function `%matplotlib.inline` not found. After installing the Anaconda3-4.3.0.1-Windows-x86 package on Windows 7 (x86), Firefox 51.0.1 (32-bit) browser. The error occurs after installing the package, opening Anaconda Promt and calling ipython notebook from there on the command line.
To verify that the package was working properly after installation, I entered this test data in ipython notebook:
%matplotlib.inline from numpy import linspace, cos import matplotlib.pyplot as plt x = linspace(0, 10, 50) y = cos(x) plt.plot(x, y) In theory, a graph should appear, and an error occurs.
Spyder and Anaconda Navigator from Anaconda3-4.3.0.1-Windows-x86 also fail to run.
All these files are not imported: C: \ Users \ DmitrOK71 \ Anaconda3 \ lib \ site-packages \ matplotlib \ pyplot.py C: \ Users \ DmitrOK71 \ Anaconda3 \ lib \ site-packages \ matplotlib \ colorbar.py C: \ Users \ DmitrOK71 \ Anaconda3 \ lib \ site-packages \ matplotlib \ contour.py C: \ Users \ DmitrOK71 \ Anaconda3 \ lib \ site-packages \ matplotlib \ text.py C: \ Users \ DmitrOK71 \ Anaconda3 \ lib \ site- packages \ matplotlib \ backend_bases.py C: \ Users \ DmitrOK71 \ Anaconda3 \ lib \ site-packages \ matplotlib \ textpath.py C: \ Users \ DmitrOK71 \ Anaconda3 \ lib \ site-packages \ matplotlib \ mathtext.py
located in the folder created by default with the Anaconda3-4.3.0.1-Windows-x86 installer: C: \ Users \ DmitrOK71 \ Anaconda3 \ Lib \ site-packages \ matplotlib
changed the folder name from lib to lib : C: \ Users \ DmitrOK71 \ Anaconda3 \ lib \ site-packages \ matplotlib
but this did not solve the problem, the same error appears: ERROR: root: Line magic function %matplotlib.inline not found.
not only in the browser Firefox 51.0.1 (32-bit) , but also in Google Chrome 56.0.2924.87 (32-bit) and in Internet Explorer 11.0.9600.18449 (32-bit)
%matplotlib.inline(replace space with a space) - jfs%matplotlib inline- jfs%matplotlib.inlinenot found. But the modified command with a space instead of the point% matplotlib notebook works fine and the test example launched in Jupyter notebook draws a two-dimensional graph as intended - arian77