rtree included in Conda distribution
See original GitHub issueHey guys -
Ok, so it’s possible I’m doing something wrong here, but when I run this command:
conda install -c conda-forge/label/gcc7 geopandas python=3.6.8 -n python3.6
I get rtree as a dependency from conda:
The following NEW packages will be INSTALLED:
cycler: 0.10.0-py_1 conda-forge/label/gcc7
dbus: 1.13.12-h746ee38_0
descartes: 1.1.0-py_2 conda-forge/label/gcc7
geopandas: 0.4.0-py_1 conda-forge/label/gcc7
gst-plugins-base: 1.14.0-hbbd80ab_1
gstreamer: 1.14.0-hb453b48_1
kiwisolver: 1.0.1-py36h6bb024c_1002 conda-forge/label/gcc7
matplotlib: 3.0.2-py36h8a2030e_1001 conda-forge/label/gcc7
matplotlib-base: 3.0.2-py36h167e16e_1001 conda-forge/label/gcc7
palettable: 3.1.1-py_0 conda-forge/label/gcc7
patsy: 0.5.0-py_1 conda-forge/label/gcc7
psycopg2: 2.8.4-py36h1ba5d50_0
pyparsing: 2.2.1-py_0 conda-forge/label/gcc7
pyqt: 5.6.0-py36h13b7fb3_1008 conda-forge/label/gcc7
pysal: 2.0.0-py_0
qt: 5.6.3-h8bf5577_3
rtree: 0.8.3-py36_0
scipy: 1.3.2-py36h7c811a0_0
seaborn: 0.9.0-py_0 conda-forge/label/gcc7
sip: 4.18.1-py36hf484d3e_1000 conda-forge/label/gcc7
sqlalchemy: 1.2.16-py36h14c3975_1000 conda-forge/label/gcc7
statsmodels: 0.9.0-py36h3010b51_1000 conda-forge/label/gcc7
tornado: 5.1.1-py36h14c3975_1000 conda-forge/label/gcc7
I can definitely see value in including rtree, but would it be possible to include a branch without rtree included?
Thanks for any thoughts and feedback on this! Dan
Issue Analytics
- State:
- Created 4 years ago
- Comments:11 (8 by maintainers)
Top Results From Across the Web
Rtree - :: Anaconda.org
1. R-Tree spatial index for Python GIS. Conda · Files · Labels · Badges.
Read more >Missing dependancies of rtree - python - Stack Overflow
It looks like Rtree requires libspatialindex (https://libspatialindex.org) which is not automatically installed.
Read more >Rtree - PyPI
Rtree is a ctypes Python wrapper of libspatialindex that provides a number of advanced spatial indexing features for the spatially curious Python user....
Read more >Packages included in Anaconda 2020.02 for 64-bit Windows ...
Name Version Summary / License
aiofiles 0.4.0 File support for asyncio / Apache 2.0
alembic 1.4.2 A database migration tool for SQLAlchemy. / MIT
anaconda‑clean 1.1.0...
Read more >Installation — GeoPandas 0.12.2+0.gefcb367.dirty ...
This can be obtained by installing the Anaconda Distribution (a free ... pyproj, rtree, and shapely provide binary wheels with dependencies included for...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I think it is fine to discuss general packaging / distribution stuff here, as it has more visibility for potentially interested people.
I have been thinking lately about having a “geopandas-base” package on conda-forge that has less dependencies (similarly to how dask and matplotlib also do something like this I think?)
Also
fiona
would be a possible target for leaving out in a “slim” package+deps.I’ll try to hammer out a pull request over the next few weeks ™ for a geopandas-base.