![]() ![]() I run successfully sudo -H pip install matplotlib. I run sudo apt-get install libfreetype6-dev libpng12-dev successfully. This is incomplete installation, trying to use the module you get ImportError: No module named matplotlib.pyplot ![]() I got exactly the same error when running the command without sudo -H. Where error code 1 did not return any corresponding threads. * The following required packages can not be built:Ĭommand "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-5VdgT2/matplotlib/ Gtk: no [The C/C++ header for gtk (gtk/gtk.h) could notĬairo: yes ![]() Gtkagg: no [The C/C++ header for gtk (gtk/gtk.h) could notīe found. Qt4agg: yes [installing, Qt: 4.8.6, PyQt: 4.8.6 PySide not Toolkits_tests: yes [nose 0.11.1 or later is required to run the Install it with pip or your preferred tool to run Required to run the matplotlib test suite. Your preferred tool to run the test suite / mock is Tests: yes [nose 0.11.1 or later is required to run the Qhull: yes [pkg-config information for 'qhull' could not be Png: no [pkg-config information for 'libpng' could not Libagg: yes [pkg-config information for 'libagg' could notįreetype: no [The C/C++ header for freetype2 (ft2build.h)Ĭould not be found. Python: yes [2.7.6 (default, Jun 22 2015, 17:58:13) [GCCĭateutil: yes Ĭycler: yes [cycler was not found. You can upgrade to a newer version of Python to solve this. ![]() This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. usr/local/lib/python2.7/dist-packages/pip/_vendor/requests/packages/urllib3/util/ssl_.py:122: InsecurePlatformWarning: A true SSLContext object is not available. This may cause the server to present an incorrect TLS certificate, which can cause validation failures. usr/local/lib/python2.7/dist-packages/pip/_vendor/requests/packages/urllib3/util/ssl_.py:318: SNIMissingWarning: An HTTPS request has been made, but the SNI (Subject Name Indication) extension to TLS is not available on this platform. I run sudo -H pip install matplotlib Collecting matplotlib Their upstart/systemd with runit is horrible. This is the same error I was getting with the original python3 kernel before I removed it.Motivation in 14.04: 16.04 is buggy for production use. ImportError: cannot import name 'NoReturn' auto_suggest import AutoSuggest, Suggestionįile "/Users/user1/Library/Python/3.6/lib/python/site-packages/prompt_toolkit/auto_suggest.py", line 19, in įile "/Users/user1/Library/Python/3.6/lib/python/site-packages/prompt_toolkit/document.py", line 8, in Return _get_module_details(pkg_main_name, error)įile "/Library/Frameworks/amework/Versions/3.6/lib/python3.6/runpy.py", line 109, in _get_module_detailsįile "/Users/user1/Library/Python/3.6/lib/python/site-packages/ipykernel/_init_.py", line 2, in įile "/Users/user1/Library/Python/3.6/lib/python/site-packages/ipykernel/connect.py", line 11, in įrom import ProfileDirįile "/Users/user1/Library/Python/3.6/lib/python/site-packages/IPython/_init_.py", line 56, in įile "/Users/user1/Library/Python/3.6/lib/python/site-packages/IPython/terminal/embed.py", line 16, in įrom import TerminalInteractiveShellįile "/Users/user1/Library/Python/3.6/lib/python/site-packages/IPython/terminal/interactiveshell.py", line 19, in įrom prompt_toolkit.enums import DEFAULT_BUFFER, EditingModeįile "/Users/user1/Library/Python/3.6/lib/python/site-packages/prompt_toolkit/_init_.py", line 16, in įile "/Users/user1/Library/Python/3.6/lib/python/site-packages/prompt_toolkit/application/_init_.py", line 1, in įile "/Users/user1/Library/Python/3.6/lib/python/site-packages/prompt_toolkit/application/application.py", line 42, in įile "/Users/user1/Library/Python/3.6/lib/python/site-packages/prompt_toolkit/buffer.py", line 33, in įrom. Mod_name, mod_spec, code = _get_module_details(mod_name, _Error)įile "/Library/Frameworks/amework/Versions/3.6/lib/python3.6/runpy.py", line 142, in _get_module_details Traceback (most recent call last):įile "/Library/Frameworks/amework/Versions/3.6/lib/python3.6/runpy.py", line 183, in _run_module_as_main However, I get an error when running python3 -m ipykernel install -user. I then ran these commands to create a new python3 kernel. My python3 kernel for jupyter notebook was not starting, so I uninstalled it. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |