pbugnion / gmaps

Google maps for Jupyter notebooks
https://jupyter-gmaps.readthedocs.io/en/stable/
Other
760 stars 147 forks source link

Cannot Install gmaps on Linux using Miniconda #361

Open OliverHeilmann opened 1 year ago

OliverHeilmann commented 1 year ago

Hello, I have an issue with gmaps installation.

I followed the conda installation instructions and there seems to be an issue with the process... looks like a link error?

Thanks for your help in advance!

Linux <mymachine> 5.15.0-52-generic #58~20.04.1-Ubuntu SMP Thu Oct 13 13:09:46 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux

Some useful versions:

Python 3.9.15
conda 22.9.0
(base) user@location:~/<some dir>$ conda install -c conda-forge gmaps
Collecting package metadata (current_repodata.json): done
Solving environment: done

## Package Plan ##

  environment location: /home/sam/miniconda3

  added / updated specs:
    - gmaps

The following packages will be downloaded:

    package                    |            build
    ---------------------------|-----------------
    six-1.16.0                 |     pyh6c4a22f_0          14 KB  conda-forge
    tornado-6.1                |   py39hb9d737c_3         649 KB  conda-forge
    zeromq-4.3.4               |       h9c3ff4c_1         351 KB  conda-forge
    ------------------------------------------------------------
                                           Total:        1014 KB

The following NEW packages will be INSTALLED:

  asttokens          conda-forge/noarch::asttokens-2.1.0-pyhd8ed1ab_0 None
  attrs              conda-forge/noarch::attrs-22.1.0-pyh71513ae_1 None
  backcall           conda-forge/noarch::backcall-0.2.0-pyh9f0ad1d_0 None
  backports          conda-forge/noarch::backports-1.0-pyhd8ed1ab_3 None
  backports.functoo~ conda-forge/noarch::backports.functools_lru_cache-1.6.4-pyhd8ed1ab_0 None
  decorator          conda-forge/noarch::decorator-5.1.1-pyhd8ed1ab_0 None
  entrypoints        conda-forge/noarch::entrypoints-0.4-pyhd8ed1ab_0 None
  executing          conda-forge/noarch::executing-1.2.0-pyhd8ed1ab_0 None
  geojson            conda-forge/noarch::geojson-2.5.0-py_0 None
  gmaps              conda-forge/noarch::gmaps-0.9.0-py_0 None
  importlib-metadata conda-forge/noarch::importlib-metadata-5.1.0-pyha770c72_0 None
  importlib_resourc~ conda-forge/noarch::importlib_resources-5.10.0-pyhd8ed1ab_0 None
  ipykernel          conda-forge/linux-64::ipykernel-5.5.5-py39hef51801_0 None
  ipython            conda-forge/noarch::ipython-8.6.0-pyh41d4057_1 None
  ipython_genutils   conda-forge/noarch::ipython_genutils-0.2.0-py_1 None
  ipywidgets         conda-forge/noarch::ipywidgets-8.0.2-pyhd8ed1ab_1 None
  jedi               conda-forge/noarch::jedi-0.18.2-pyhd8ed1ab_0 None
  jsonschema         conda-forge/noarch::jsonschema-4.17.1-pyhd8ed1ab_0 None
  jupyter_client     conda-forge/noarch::jupyter_client-7.0.6-pyhd8ed1ab_0 None
  jupyter_core       conda-forge/linux-64::jupyter_core-5.0.0-py39hf3d152e_0 None
  jupyterlab_widgets conda-forge/noarch::jupyterlab_widgets-3.0.3-pyhd8ed1ab_0 None
  libsodium          conda-forge/linux-64::libsodium-1.0.18-h36c2ea0_1 None
  matplotlib-inline  conda-forge/noarch::matplotlib-inline-0.1.6-pyhd8ed1ab_0 None
  nbformat           conda-forge/noarch::nbformat-5.7.0-pyhd8ed1ab_0 None
  nest-asyncio       conda-forge/noarch::nest-asyncio-1.5.6-pyhd8ed1ab_0 None
  parso              conda-forge/noarch::parso-0.8.3-pyhd8ed1ab_0 None
  pexpect            conda-forge/noarch::pexpect-4.8.0-pyh1a96a4e_2 None
  pickleshare        conda-forge/noarch::pickleshare-0.7.5-py_1003 None
  pkgutil-resolve-n~ conda-forge/noarch::pkgutil-resolve-name-1.3.10-pyhd8ed1ab_0 None
  platformdirs       conda-forge/noarch::platformdirs-2.5.2-pyhd8ed1ab_1 None
  prompt-toolkit     conda-forge/noarch::prompt-toolkit-3.0.33-pyha770c72_0 None
  ptyprocess         conda-forge/noarch::ptyprocess-0.7.0-pyhd3deb0d_0 None
  pure_eval          conda-forge/noarch::pure_eval-0.2.2-pyhd8ed1ab_0 None
  pygments           conda-forge/noarch::pygments-2.13.0-pyhd8ed1ab_0 None
  pyrsistent         pkgs/main/linux-64::pyrsistent-0.18.0-py39heee7806_0 None
  python-dateutil    conda-forge/noarch::python-dateutil-2.8.2-pyhd8ed1ab_0 None
  python-fastjsonsc~ conda-forge/noarch::python-fastjsonschema-2.16.2-pyhd8ed1ab_0 None
  python_abi         conda-forge/linux-64::python_abi-3.9-2_cp39 None
  pyzmq              conda-forge/linux-64::pyzmq-19.0.2-py39hb69f2a1_2 None
  six                conda-forge/noarch::six-1.16.0-pyh6c4a22f_0 None
  stack_data         conda-forge/noarch::stack_data-0.6.1-pyhd8ed1ab_0 None
  tornado            conda-forge/linux-64::tornado-6.1-py39hb9d737c_3 None
  traitlets          conda-forge/noarch::traitlets-5.5.0-pyhd8ed1ab_0 None
  typing_extensions  conda-forge/noarch::typing_extensions-4.4.0-pyha770c72_0 None
  wcwidth            conda-forge/noarch::wcwidth-0.2.5-pyh9f0ad1d_2 None
  widgetsnbextension conda-forge/noarch::widgetsnbextension-4.0.3-pyhd8ed1ab_0 None
  zeromq             conda-forge/linux-64::zeromq-4.3.4-h9c3ff4c_1 None
  zipp               conda-forge/noarch::zipp-3.10.0-pyhd8ed1ab_0 None

The following packages will be UPDATED:

  conda              pkgs/main::conda-22.9.0-py39h06a4308_0 --> conda-forge::conda-22.9.0-py39hf3d152e_2 None

The following packages will be SUPERSEDED by a higher-priority channel:

  ca-certificates    pkgs/main::ca-certificates-2022.10.11~ --> conda-forge::ca-certificates-2022.9.24-ha878542_0 None
  certifi            pkgs/main/linux-64::certifi-2022.9.24~ --> conda-forge/noarch::certifi-2022.9.24-pyhd8ed1ab_0 None

Proceed ([y]/n)? y

Downloading and Extracting Packages
zeromq-4.3.4         | 351 KB    | #################################################################################################################################################### | 100% 
six-1.16.0           | 14 KB     | #################################################################################################################################################### | 100% 
tornado-6.1          | 649 KB    | #################################################################################################################################################### | 100% 
Preparing transaction: done
Verifying transaction: done
Executing transaction: done
ERROR conda.core.link:_execute(733): An error occurred while installing package 'conda-forge::gmaps-0.9.0-py_0'.
Rolling back transaction: done

LinkError: post-link script failed for package conda-forge::gmaps-0.9.0-py_0
location of failed script: /home/sam/miniconda3/bin/.gmaps-post-link.sh
==> script messages <==
<None>
==> script output <==
stdout: 
stderr: /home/<user>/miniconda3/bin/.gmaps-post-link.sh: line 1: /home/<user>/miniconda3/bin/jupyter-nbextension: No such file or directory

return code: 127

()