sebbegg opened a new issue, #1253:
URL: https://github.com/apache/sedona/issues/1253
## Expected behavior
Package documentation / metadata should match actual dependencies.
## Actual behavior
When installing apache-sedona along with its official requirements, IPython
is not installed.
Importing sedona though also triggers an IPython import:
```commandline
Traceback (most recent call last):
File "/Users/xyz/Projekte/sedona-migration/run_migration_to_3.5.py", line
3, in <module>
from sedona.spark import SedonaContext
File
"/Users/xyz/Library/Caches/pypoetry/virtualenvs/sedona-migration-M_RNyLtM-py3.9/lib/python3.9/site-packages/sedona/spark/__init__.py",
line 43, in <module>
from sedona.raster_utils.SedonaUtils import SedonaUtils
File
"/Users/xyz/Library/Caches/pypoetry/virtualenvs/sedona-migration-M_RNyLtM-py3.9/lib/python3.9/site-packages/sedona/raster_utils/SedonaUtils.py",
line 18, in <module>
from IPython.display import display, HTML
ModuleNotFoundError: No module named 'IPython'
```
This is very inconvenient especially since `IPython` seems to be around only
for the limited use-case of displaying images in an IPython environment.
It feels like sedona python should be usable with ipython though - or the
IPython dependency should be properly documented in the package.
## Steps to reproduce the problem
```commandline
pip install apache-sedona==1.5.1 pyspark
python -c "import sedona.spark"
```
## Settings
Sedona version = 1.5.1
Apache Spark version = 3.3.2
Apache Flink version = ?
API type = Python
--
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]