无法在蟒蛇下加载pyspark

时间:2018-07-24 17:04:04

标签: python apache-spark pyspark anaconda

我已经安装了pyspark(pyspark-2.3.1-py37_1.tar)。尝试导入时,出现以下错误:

[bin]$ ./conda list | grep -i spark
    pyspark                   2.3.1                    py37_1    <unknown>

[bin]$ ./python
Python 2.7.15 |Anaconda, Inc.| (default, May  1 2018, 23:32:55)
[GCC 7.2.0] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import pyspark
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: No module named pyspark

有什么想法吗?

0 个答案:

没有答案