DirkSchneemann-TomTom commented on issue #570:
URL: https://github.com/apache/sedona-db/issues/570#issuecomment-3837635731

   I am really just following the Readme from the repository here, which says 
`pip install "apache-sedona[db]"`, and this installs `apache-sedona`1.7.2. 
Could you please elaborate what I should do differently?
   
   `pip install "apache-sedona==1.8.1"` will install the latest released 
version (why is this not the default on PyPI?). Running my file now fails with:
   ```
   Traceback (most recent call last):
     File "/Users/schneema/Downloads/sed/foo.py", line 1, in <module>
       import sedona.db
     File 
"/Users/schneema/Downloads/sed/.venv/lib/python3.14/site-packages/sedona/db/__init__.py",
 line 24, in <module>
       from sedonadb import connect, context, dataframe
   ModuleNotFoundError: No module named 'sedonadb'
   ```
   
   `pip install "apache-sedona[db]==1.8.1"` doesn't work either:
   ```
   Requirement already satisfied: apache-sedona==1.8.1 in 
./.venv/lib/python3.14/site-packages (from apache-sedona[db]==1.8.1) (1.8.1)
   Requirement already satisfied: attrs in ./.venv/lib/python3.14/site-packages 
(from apache-sedona==1.8.1->apache-sedona[db]==1.8.1) (25.4.0)
   Requirement already satisfied: shapely>=1.7.0 in 
./.venv/lib/python3.14/site-packages (from 
apache-sedona==1.8.1->apache-sedona[db]==1.8.1) (2.1.2)
   INFO: pip is looking at multiple versions of apache-sedona[db] to determine 
which version is compatible with other requirements. This could take a while.
   Collecting apache-sedona==1.8.1 (from apache-sedona[db]==1.8.1)
     Using cached 
apache_sedona-1.8.1-cp314-cp314-macosx_10_15_x86_64.whl.metadata (2.9 kB)
   ERROR: Could not find a version that satisfies the requirement 
sedonadb[geopandas]; python_version >= "3.9" and extra == "db" (from 
apache-sedona[db]) (from versions: none)
   ERROR: No matching distribution found for sedonadb[geopandas]; 
python_version >= "3.9" and extra == "db"
   ```
   
   Appreciate your help!


-- 
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]

Reply via email to