You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Burak Yavuz (JIRA)" <ji...@apache.org> on 2015/02/17 09:22:12 UTC

[jira] [Closed] (SPARK-5857) pyspark PYTHONPATH not properly set up?

     [ https://issues.apache.org/jira/browse/SPARK-5857?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Burak Yavuz closed SPARK-5857.
------------------------------
    Resolution: Invalid

Files are in sys.path

> pyspark PYTHONPATH not properly set up?
> ---------------------------------------
>
>                 Key: SPARK-5857
>                 URL: https://issues.apache.org/jira/browse/SPARK-5857
>             Project: Spark
>          Issue Type: Bug
>          Components: Deploy, PySpark
>    Affects Versions: 1.3.0
>            Reporter: Burak Yavuz
>            Priority: Blocker
>
> Locally, I run the following command:
> ```bin/pyspark --py-files ~/Projects/spark-csv/python/thunder/clustering/kmeans.py```
> normally kmeans.py should be under PYTHONPATH, but when I check 
> >>> import os
> >>> 
> >>> os.environ['PYTHONPATH']
> '~/Documents/spark/python/lib/py4j-0.8.2.1-src.zip:~/Documents/spark/python/:'
> it's not there



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org