Python 2.7 无法在英特尔爱迪生上安装matplotlib

Python 2.7 无法在英特尔爱迪生上安装matplotlib,python-2.7,matplotlib,yocto,intel-edison,Python 2.7,Matplotlib,Yocto,Intel Edison,我试图在我的英特尔爱迪生板上安装matplotlib,但出现了错误。我成功安装了Numpy和Spicle,但无法安装matplotlib 我得到了这个错误 root@edisonwbl:~# pip install matplotlib Collecting matplotlib /usr/lib/python2.7/site-packages/pip/_vendor/requests/packages/urllib3/util/ssl_.py:318: SNIMissingWarning: A

我试图在我的英特尔爱迪生板上安装matplotlib,但出现了错误。我成功安装了Numpy和Spicle,但无法安装matplotlib

我得到了这个错误

root@edisonwbl:~# pip install matplotlib
Collecting matplotlib
/usr/lib/python2.7/site-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. This may cause the server to present an incorrect TLS certificate, which can cause validation failures. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/security.html#snimissingwarning.
  SNIMissingWarning
/usr/lib/python2.7/site-packages/pip/_vendor/requests/packages/urllib3/util/ssl_.py:122: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/security.html#insecureplatformwarning.
  InsecurePlatformWarning
  Downloading matplotlib-2.0.2.tar.gz (53.9MB)
    99% |############################### | 53.9MB 623kB/s eta 0:00:01Exception:
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/pip/basecommand.py", line 215, in main
    status = self.run(options, args)
  File "/usr/lib/python2.7/site-packages/pip/commands/install.py", line 324, in run
    requirement_set.prepare_files(finder)
  File "/usr/lib/python2.7/site-packages/pip/req/req_set.py", line 380, in prepare_files
    ignore_dependencies=self.ignore_dependencies))
  File "/usr/lib/python2.7/site-packages/pip/req/req_set.py", line 620, in _prepare_file
    session=self.session, hashes=hashes)
  File "/usr/lib/python2.7/site-packages/pip/download.py", line 821, in unpack_url
    hashes=hashes
  File "/usr/lib/python2.7/site-packages/pip/download.py", line 659, in unpack_http_url
    hashes)
  File "/usr/lib/python2.7/site-packages/pip/download.py", line 882, in _download_http_url
    _download_url(resp, link, content_file, hashes)
  File "/usr/lib/python2.7/site-packages/pip/download.py", line 603, in _download_url
    hashes.check_against_chunks(downloaded_chunks)
  File "/usr/lib/python2.7/site-packages/pip/utils/hashes.py", line 46, in check_against_chunks
    for chunk in chunks:
  File "/usr/lib/python2.7/site-packages/pip/download.py", line 571, in written_chunks
    for chunk in chunks:
  File "/usr/lib/python2.7/site-packages/pip/utils/ui.py", line 139, in iter
    for x in it:
  File "/usr/lib/python2.7/site-packages/pip/download.py", line 560, in resp_read
    decode_content=False):
  File "/usr/lib/python2.7/site-packages/pip/_vendor/requests/packages/urllib3/response.py", line 357, in stream
    data = self.read(amt=amt, decode_content=decode_content)
  File "/usr/lib/python2.7/site-packages/pip/_vendor/requests/packages/urllib3/response.py", line 314, in read
    data = self._fp.read(amt)
  File "/usr/lib/python2.7/site-packages/pip/_vendor/cachecontrol/filewrapper.py", line 63, in read
    self._close()
  File "/usr/lib/python2.7/site-packages/pip/_vendor/cachecontrol/filewrapper.py", line 50, in _close
    self.__callback(self.__buf.getvalue())
  File "/usr/lib/python2.7/site-packages/pip/_vendor/cachecontrol/controller.py", line 275, in cache_response
    self.serializer.dumps(request, response, body=body),
  File "/usr/lib/python2.7/site-packages/pip/_vendor/cachecontrol/serialize.py", line 87, in dumps
    ).encode("utf8"),
MemoryError
我有爱迪生的Yocto,固件版本是201606061707

有人能帮我吗

提前谢谢

---编辑---


我找到了解决办法。freetype2和libpng软件包无法安装,所以我手动安装了它们,问题解决了

我建议您卸载python并为python 2.7安装。它附带了所有必要的模块,包括matplolib、numpy、pandas等


请点击此链接:

我建议您卸载python并为python 2.7安装。它附带了所有必要的模块,包括matplolib、numpy、pandas等


点击此链接:

Intel Edison中的Linux(Yocto)是否支持Anaconda?我发现此错误@Shahariarraby Anaconda 2现在将安装到此位置:/home/root/Anaconda 2-按ENTER确认位置-按CTRL-C中止安装-或在下面指定其他位置[/home/root/Anaconda 2]>>>PREFIX=/home/root/anaconda2 tar:无法识别的选项“--无相同所有者”BusyBox v1.22.1(2016-06-06 14:50:27 PDT)多调用二进制文件。用法:tar-[cxtZzJjahmvO][X文件][T文件][f TARFILE][C目录][FILE]。。。错误:无法从Intel Edison supports Anaconda中的第592Does Linux(Yocto)行提取tar?我收到此错误@Shahariarraby Anaconda2将安装到此位置:/home/root/Anaconda2-按ENTER确认位置-按CTRL-C中止安装-或在下面指定其他位置[/home/root/anaconda2]>>>PREFIX=/home/root/anaconda2 tar:unrecogned选项'--no-same owner'BusyBox v1.22.1(2016-06-06 14:50:27 PDT)多调用二进制文件。用法:tar-[cxtzjjahmvo][X文件][T文件][f TARFILE][C DIR FILE]…错误:无法从第592行开始提取tar