简体   繁体   English

找不到 Pandas 模块

[英]Pandas module not found

I have a AWS EMR cluster and a Jupyert Note book on another instance connected through livy , I have installed packages on EMR master and node, Jupyter seems to recognize all packages except pandas.我在通过 livy 连接的另一个实例上有一个 AWS EMR 集群和一个 Jupyert Note book,我已经在 EMR 主节点和节点上安装了软件包,Jupyter 似乎可以识别除 Pandas 之外的所有软件包。

I have checked sys.executable(/usr/bin/python3)which is same on Jypter and terminal .我检查了 sys.executable(/usr/bin/python3) 这在 Jypter 和 terminal 上是一样的。

An error was encountered:遇到错误:

Pandas >= 0.19.2 must be installed; however, it was not found.
Traceback (most recent call last):
  File "/usr/lib/spark/python/lib/pyspark.zip/pyspark/sql/dataframe.py", line 2085, in toPandas
    require_minimum_pandas_version()
  File "/usr/lib/spark/python/lib/pyspark.zip/pyspark/sql/utils.py", line 129, in require_minimum_pandas_version
    "it was not found." % minimum_pandas_version)
ImportError: Pandas >= 0.19.2 must be installed; however, it was not found.

Can some one please help me?有人可以帮帮我吗?

It is complaining that it cannot find a pandas of at least the minimum required version, which is equal to 0.19.2 or greater.据抱怨它不能找到pandas的至少要求的最低版本,这是等于0.19.2或更高。 Have you checked in your dependencies whether maybe you have installed an earlier version?您是否检查过依赖项是否安装了较早的版本?

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM