holzschu / Carnets

Carnets is a stand-alone Jupyter notebook server and client. Edit your notebooks on the go, even where there is no network.
https://holzschu.github.io/Carnets_Jupyter/
BSD 3-Clause "New" or "Revised" License
547 stars 32 forks source link

faild when installing cartopy #246

Open Feliks151450 opened 2 years ago

Feliks151450 commented 2 years ago

I tried to install Cartopy with Carnets Plus in my iPad pro, but failed.

error: subprocess-exited-with-error

× pip subprocess to install build dependencies did not run successfully. │ exit code: 1 ╰─> [31 lines of output] Collecting wheel Using cached wheel-0.37.1-py2.py3-none-any.whl (35 kB) Collecting setuptools>=40.6.0 Using cached setuptools-61.3.1-py3-none-any.whl (1.1 MB) Collecting Cython>=0.29.13 Using cached Cython-0.29.28-py2.py3-none-any.whl (983 kB) Collecting oldest-supported-numpy Using cached oldest_supported_numpy-2022.3.27-py3-none-any.whl (3.9 kB) Collecting setuptools_scm Using cached setuptools_scm-6.4.2-py3-none-any.whl (37 kB) Collecting setuptools_scm_git_archive Using cached setuptools_scm_git_archive-1.1-py2.py3-none-any.whl (3.3 kB) Collecting numpy==1.19.3 Using cached numpy-1.19.3.zip (7.3 MB) Installing build dependencies: started Installing build dependencies: finished with status 'error' error: subprocess-exited-with-error

    × pip subprocess to install build dependencies did not run successfully.
    │ exit code: 127
    ╰─> [0 lines of output]
        [end of output]

    note: This error originates from a subprocess, and is likely not a problem with pip.
  error: subprocess-exited-with-error
  × pip subprocess to install build dependencies did not run successfully.
  │ exit code: 127
  ╰─> See above for output.

  note: This error originates from a subprocess, and is likely not a problem with pip.
  [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip. 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.

holzschu commented 2 years ago

Hi, Cartopy has several modules written in C and Cython, so it cannot be installed by the user, because there isn't a C compiler available. It is on the top of the TODO list, so it should be in the next major upgrade. We have geopandas available on Carnets-with-Scipy (which is not the same, but has a significant overlap in features with Cartopy).

holzschu commented 2 years ago

Hi, The current TestFlight version of Carnets-with-Scipy has Cartopy installed: https://testflight.apple.com/join/UbNIjkjp

I'm interested in feedback.

Feliks151450 commented 2 years ago

hello, I've tried this version, it works but with some bugs: https://www.craft.do/s/6qZHRqFmbKUKQ2

holzschu commented 2 years ago

Hi, Thanks for the detailed test case. I can indeed reproduce the issue. I have no idea where it might be coming from, since we're using the Cartopy 0.20.2 release, as is, with no modification. I'm rebuilding with Cartopy 0.20.3 to see if it improves things (realeased on June 29).