[ 
https://issues.apache.org/jira/browse/SPARK-18136?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16183077#comment-16183077
 ] 

Jakub Nowacki commented on SPARK-18136:
---------------------------------------

PR 19370 (https://github.com/apache/spark/pull/19370) fixes {{SPARK_HOME}} 
issue using {{find_spark_home.py}} script. It's not maybe the most elegant way, 
but it is simple.

I think in a long run it would be better to move to some Python packaging 
mechanisms like {{console_scripts}} or related, as it will provide better 
multiplatform support; see 
https://packaging.python.org/tutorials/distributing-packages/#scripts and 
https://setuptools.readthedocs.io/en/latest/setuptools.html#automatic-script-creation.
 I'll create a separate issue with improvement proposal.

> Make PySpark pip install works on windows
> -----------------------------------------
>
>                 Key: SPARK-18136
>                 URL: https://issues.apache.org/jira/browse/SPARK-18136
>             Project: Spark
>          Issue Type: Improvement
>          Components: PySpark
>            Reporter: holdenk
>             Fix For: 2.2.1, 2.3.0, 2.1.3
>
>
> Make sure that pip installer for PySpark works on windows



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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

Reply via email to