koito19960406 / ZenSVI

This package is a one-stop solution for downloading, cleaning, analyzing street view imagery
https://zensvi.readthedocs.io/en/latest/
Creative Commons Attribution Share Alike 4.0 International
19 stars 2 forks source link

Install error in Google Colab (python 3.10) #33

Closed kunifujiwara closed 1 year ago

kunifujiwara commented 1 year ago

I tried to install in Google Colab by the command "pip install zensvi", and got the error message below.


INFO: pip is looking at multiple versions of opencv-python to determine which version is compatible with other requirements. This could take a while. Collecting opencv_python<5.0.0,>=4.5.3 (from zensvi) Downloading opencv_python-4.8.0.74-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (61.7 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 61.7/61.7 MB 27.9 MB/s eta 0:00:00 Downloading opencv_python-4.7.0.68-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (61.8 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 61.8/61.8 MB 24.7 MB/s eta 0:00:00 Downloading opencv_python-4.6.0.66-cp36-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (60.9 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 60.9/60.9 MB 27.9 MB/s eta 0:00:00 Downloading opencv_python-4.5.5.64-cp36-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (60.5 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 60.5/60.5 MB 27.9 MB/s eta 0:00:00 Downloading opencv_python-4.5.5.62-cp36-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (60.4 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 60.4/60.4 MB 23.9 MB/s eta 0:00:00 Downloading opencv_python-4.5.4.60-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (60.3 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 60.3/60.3 MB 11.0 MB/s eta 0:00:00 Downloading opencv_python-4.5.4.58-cp310-cp310-manylinux2014_x86_64.whl (60.3 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 60.3/60.3 MB 19.3 MB/s eta 0:00:00 INFO: pip is looking at multiple versions of opencv-python to determine which version is compatible with other requirements. This could take a while. Downloading opencv-python-4.5.3.56.tar.gz (89.2 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 89.2/89.2 MB 16.0 MB/s eta 0:00:00 error: subprocess-exited-with-error

× pip subprocess to install build dependencies did not run successfully. │ exit code: 1 ╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip. Installing build dependencies ... error error: subprocess-exited-with-error

× pip subprocess to install build dependencies did not run successfully. │ exit code: 1 ╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip.

koito19960406 commented 1 year ago

34 addressed this issue by removing mapillary as a dependency

kunifujiwara commented 1 year ago

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. ipython 7.34.0 requires jedi>=0.16, which is not installed. arviz 0.15.1 requires scipy>=1.8.0, but you have scipy 1.7.3 which is incompatible. cvxpy 1.3.1 requires setuptools>65.5.1, but you have setuptools 64.0.3 which is incompatible. Successfully installed huggingface-hub-0.16.4 osmnx-1.5.1 safetensors-0.3.1 scipy-1.7.3 setuptools-64.0.3 tokenizers-0.13.3 transformers-4.30.2 zensvi-0.6.4 WARNING: The following packages were previously imported in this runtime: [_distutils_hack,pkg_resources,setuptools] You must restart the runtime in order to use newly installed versions.

koito19960406 commented 1 year ago

Fixed this by relaxing scipy and setuptools in zensvi==0.6.6