dongjoon-hyun commented on PR #48139:
URL: https://github.com/apache/spark/pull/48139#issuecomment-2360027654
May I ask what is your result of the following?
```
pip3 uninstall plotly
python/run-tests.py --python-executables python3 --modules pyspark-sql
```
I see the following still. (with this PR).
```
======================================================================
ERROR [0.434s]: test_map_in_arrow_with_profile
(pyspark.sql.tests.test_resources.ResourceProfileTests.test_map_in_arrow_with_profile)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/dongjoon/APACHE/spark-merge/python/pyspark/sql/utils.py",
line 124, in require_minimum_plotly_version
import plotly # noqa: F401
^^^^^^^^^^^^^
ModuleNotFoundError: No module named 'plotly'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File
"/Users/dongjoon/APACHE/spark-merge/python/pyspark/sql/plot/__init__.py", line
28, in <module>
require_minimum_plotly_version()
File "/Users/dongjoon/APACHE/spark-merge/python/pyspark/sql/utils.py",
line 126, in require_minimum_plotly_version
raise PySparkImportError(
pyspark.errors.exceptions.base.PySparkImportError: [PACKAGE_NOT_INSTALLED]
plotly >= 4.8 must be installed; however, it was not found.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File
"/Users/dongjoon/APACHE/spark-merge/python/pyspark/sql/tests/test_resources.py",
line 53, in test_map_in_arrow_with_profile
df = self.spark.range(10)
^^^^^^^^^^^^^^^^^^^^
File "/Users/dongjoon/APACHE/spark-merge/python/pyspark/sql/session.py",
line 1020, in range
return DataFrame(jdf, self)
^^^^^^^^^^^^^^^^^^^^
File "/Users/dongjoon/APACHE/spark-merge/python/pyspark/sql/dataframe.py",
line 146, in __new__
from pyspark.sql.classic.dataframe import DataFrame
File
"/Users/dongjoon/APACHE/spark-merge/python/pyspark/sql/classic/dataframe.py",
line 77, in <module>
from pyspark.sql.plot import PySparkPlotAccessor
File
"/Users/dongjoon/APACHE/spark-merge/python/pyspark/sql/plot/__init__.py", line
32, in <module>
sys.exit()
SystemExit
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]