Closed nonoumasy closed 4 years ago
you cant install rtree
with pip (see, e.g. here)
but you can use !apt-get install -y python-rtree
then you can pip install geosnap
thanks. I tried this before but then I get this error message.
ERROR: tobler 0.2.1 has requirement quilt3==3.1.8, but you'll have quilt3 3.1.10 which is incompatible. Installing collected packages: libpysal, deprecated, mapclassify, esda, quantecon, giddy, flask-compress, dash-renderer, dash-core-components, dash-html-components, dash-table, dash, dash-bootstrap-components, aws-requests-auth, appdirs, flask-cors, ruamel.yaml.clib, ruamel.yaml, requests-futures, flask-json, dnspython, jsonlines, quilt3, spenc, click-plugins, cligj, munch, fiona, pyproj, geopandas, rtree, fuzzywuzzy, cenpy, pyarrow, affine, snuggs, rasterio, simplejson, rasterstats, tobler, pulp, region, geosnap Found existing installation: pyarrow 0.14.1 Uninstalling pyarrow-0.14.1: Successfully uninstalled pyarrow-0.14.1 Successfully installed affine-2.3.0 appdirs-1.4.3 aws-requests-auth-0.4.2 cenpy-1.0.0.post2 click-plugins-1.1.1 cligj-0.5.0 dash-1.9.0 dash-bootstrap-components-0.8.3 dash-core-components-1.8.0 dash-html-components-1.0.2 dash-renderer-1.2.4 dash-table-4.6.0 deprecated-1.2.7 dnspython-1.16.0 esda-2.2.1 fiona-1.8.13 flask-compress-1.4.0 flask-cors-3.0.8 flask-json-0.3.4 fuzzywuzzy-0.18.0 geopandas-0.7.0 geosnap-0.1.5 giddy-2.3.0 jsonlines-1.2.0 libpysal-4.2.2 mapclassify-2.2.0 munch-2.5.0 pulp-2.0 pyarrow-0.13.0 pyproj-2.5.0 quantecon-0.4.6 quilt3-3.1.10 rasterio-1.1.2 rasterstats-0.14.0 region-0.2.1 requests-futures-1.0.0 rtree-0.9.4 ruamel.yaml-0.16.10 ruamel.yaml.clib-0.2.0 simplejson-3.17.0 snuggs-1.4.7 spenc-0.2 tobler-0.2.1 WARNING: The following packages were previously imported in this runtime: [pyarrow] You must restart the runtime in order to use newly installed versions.
When I try to import geosnap, I get this message... TypeError: _list_packages() missing 1 required positional argument: 'registry'
thats because of #201
pip install quilt3==3.1.8
should solve it
Thanks that works. The import took about 1 minute and there was one error: ERROR: tobler 0.2.1 has requirement quilt3==3.1.8, but you'll have quilt3 3.1.10 which is incompatible.
But the package did load so it did work.
Also , when...
from geosnap import datasets, I got this message( I assume its just a warning and not an error). /usr/local/lib/python3.6/dist-packages/geosnap/_data.py:121: UserWarning: Unable to locate local census data. Streaming instead. If you plan to use census data repeatedly you can store it locally with the data.store_census function for better performance.
anyway, thanks. now, I can dig into geosnap.
👍 let us know if you run into anything else
Error message here:
Collecting rtree Downloading https://files.pythonhosted.org/packages/56/6f/f1e91001d5ad9fa9bed65875152f5a1c7955c5763168cae309546e6e9fda/Rtree-0.9.4.tar.gz (62kB) |████████████████████████████████| 71kB 9.0MB/s ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.