cybergis / cybergis-compute-python-sdk

https://cybergis.github.io/cybergis-compute-python-sdk
Apache License 2.0
5 stars 7 forks source link

hoping to solve --force-reinstall errors #57

Closed alexandermichels closed 2 years ago

alexandermichels commented 2 years ago

Fixes #56

Proposed Changes

Note: This is a temporary solution, further work needs to be done down the road to increase the range of dependencies and eventually get this all working with the latest version of widgets.

alexandermichels commented 2 years ago

You should be able to install on CyberGISX using:

!pip install --force-reinstall git+https://github.com/cybergis/cybergis-compute-python-sdk.git@refs/pull/57/merge

From the notebook, restarting the container, and then using the SDK normally.

On CyberGISX, you may see the following errors from Pip when installing:

ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
lidar 0.6.2 requires pygdal==1.10.0.0, which is not installed.
dash 2.0.0 requires dash-core-components==2.0.0, which is not installed.
dash 2.0.0 requires dash-html-components==2.0.0, which is not installed.
dash 2.0.0 requires dash-table==5.0.0, which is not installed.
tensorflow 2.4.1 requires absl-py~=0.10, but you have absl-py 1.0.0 which is incompatible.
tensorflow 2.4.1 requires flatbuffers~=1.12.0, but you have flatbuffers 2.0 which is incompatible.
tensorflow 2.4.1 requires gast==0.3.3, but you have gast 0.4.0 which is incompatible.
tensorflow 2.4.1 requires grpcio~=1.32.0, but you have grpcio 1.43.0 which is incompatible.
tensorflow 2.4.1 requires numpy~=1.19.2, but you have numpy 1.22.0 which is incompatible.
tensorflow 2.4.1 requires six~=1.15.0, but you have six 1.16.0 which is incompatible.
tensorflow 2.4.1 requires tensorflow-estimator<2.5.0,>=2.4.0, but you have tensorflow-estimator 2.6.0 which is incompatible.
tensorflow 2.4.1 requires typing-extensions~=3.7.4, but you have typing-extensions 4.0.1 which is incompatible.
tensorflow 2.4.1 requires wrapt~=1.12.1, but you have wrapt 1.13.3 which is incompatible.
quilt3 3.6.0 requires jsonschema==3.*, but you have jsonschema 4.16.0 which is incompatible.
pysal 2.5.0 requires python-dateutil<=2.8.0, but you have python-dateutil 2.8.2 which is incompatible.
pysal 2.5.0 requires urllib3>=1.26, but you have urllib3 1.25.11 which is incompatible.
lidar 0.6.2 requires PySimpleGUI==2.30.0, but you have pysimplegui 4.56.0 which is incompatible.

Those can be ignored because these errors don't affect CyberGIS-Compute and we can't solve all dependency compatibility issues.