You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Holden Karau (Jira)" <ji...@apache.org> on 2021/01/22 18:41:01 UTC
[jira] [Resolved] (SPARK-34196) Improve error message when folks
try and install in Python 2
[ https://issues.apache.org/jira/browse/SPARK-34196?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Holden Karau resolved SPARK-34196.
----------------------------------
Resolution: Won't Fix
> Improve error message when folks try and install in Python 2
> ------------------------------------------------------------
>
> Key: SPARK-34196
> URL: https://issues.apache.org/jira/browse/SPARK-34196
> Project: Spark
> Issue Type: Improvement
> Components: PySpark
> Affects Versions: 3.1.0, 3.2.0, 3.1.1, 3.1.2
> Reporter: Holden Karau
> Priority: Major
>
> Current error message:
>
> {code:java}
> Processing ./pyspark-3.1.1.tar.gz
> ERROR: Command errored out with exit status 1:
> command: /tmp/py3.1/bin/python2 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-req-build-lmlitE/setup.py'"'"'; __file__='"'"'/tmp/pip-req-build-lmlitE/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-W1BsIL
> cwd: /tmp/pip-req-build-lmlitE/
> Complete output (6 lines):
> Traceback (most recent call last):
> File "<string>", line 1, in <module>
> File "/tmp/pip-req-build-lmlitE/setup.py", line 31
> file=sys.stderr)
> ^
> SyntaxError: invalid syntax
> ----------------------------------------
> ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.{code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org