quantopian / qgrid

An interactive grid for sorting, filtering, and editing DataFrames in Jupyter notebooks
Apache License 2.0
3.05k stars 421 forks source link

Conda fails to install LinkError: post-link script failed for package conda-forge::qgrid-1.1.1-py37_1001 #243

Open nd7141 opened 5 years ago

nd7141 commented 5 years ago

Description of Issue

When installing via conda, I get the following error message

sivanov@sivanov-ThinkPad-T440p:~/Desktop/notebooks$ conda env create -f environment.yml 
Using Anaconda API: https://api.anaconda.org
Solving environment: done

==> WARNING: A newer version of conda exists. <==
  current version: 4.5.4
  latest version: 4.6.8

Please update conda by running

    $ conda update -n base conda

Downloading and Extracting Packages
zeromq-4.2.5         |  608 KB | ####################################### | 100% 
ipython_genutils-0.2 |   21 KB | ####################################### | 100% 
ipykernel-5.1.0      |  156 KB | ####################################### | 100% 
pickleshare-0.7.5    |   12 KB | ####################################### | 100% 
terminado-0.8.1      |   23 KB | ####################################### | 100% 
pexpect-4.6.0        |   75 KB | ####################################### | 100% 
wcwidth-0.1.7        |   17 KB | ####################################### | 100% 
notebook-5.7.6       |  7.2 MB | ####################################### | 100% 
decorator-4.4.0      |   11 KB | ####################################### | 100% 
widgetsnbextension-3 |  1.7 MB | ####################################### | 100% 
pyrsistent-0.14.11   |   87 KB | ####################################### | 100% 
send2trash-1.5.0     |   12 KB | ####################################### | 100% 
nbformat-4.4.0       |   91 KB | ####################################### | 100% 
pyzmq-18.0.1         |  514 KB | ####################################### | 100% 
nbconvert-5.4.1      |  332 KB | ####################################### | 100% 
ipywidgets-7.4.2     |   92 KB | ####################################### | 100% 
testpath-0.4.2       |   85 KB | ####################################### | 100% 
jsonschema-3.0.1     |   85 KB | ####################################### | 100% 
jupyter_client-5.2.4 |   63 KB | ####################################### | 100% 
parso-0.3.4          |   63 KB | ####################################### | 100% 
ptyprocess-0.6.0     |   22 KB | ####################################### | 100% 
pygments-2.3.1       |  641 KB | ####################################### | 100% 
attrs-19.1.0         |   32 KB | ####################################### | 100% 
libsodium-1.0.16     |  306 KB | ####################################### | 100% 
jedi-0.13.3          |  229 KB | ####################################### | 100% 
prometheus_client-0. |   34 KB | ####################################### | 100% 
jinja2-2.10          |   89 KB | ####################################### | 100% 
backcall-0.1.0       |   13 KB | ####################################### | 100% 
pandocfilters-1.4.2  |    9 KB | ####################################### | 100% 
entrypoints-0.3      |   11 KB | ####################################### | 100% 
bleach-3.1.0         |  110 KB | ####################################### | 100% 
webencodings-0.5.1   |   12 KB | ####################################### | 100% 
jupyter_core-4.4.0   |   44 KB | ####################################### | 100% 
defusedxml-0.5.0     |   20 KB | ####################################### | 100% 
mistune-0.8.4        |   53 KB | ####################################### | 100% 
traitlets-4.3.2      |  130 KB | ####################################### | 100% 
pandoc-2.7.1         | 21.7 MB | ####################################### | 100% 
qgrid-1.1.1          |  1.3 MB | ####################################### | 100% 
markupsafe-1.1.1     |   26 KB | ####################################### | 100% 
prompt_toolkit-2.0.9 |  222 KB | ####################################### | 100% 
ipython-7.4.0        |  1.1 MB | ####################################### | 100% 
Preparing transaction: done
Verifying transaction: done
Executing transaction: - Enabling notebook extension jupyter-js-widgets/extension...
      - Validating: OK

failed
2019-03-25 21:24:45,396 - conda.core.link - ERROR - An error occurred while installing package 'conda-forge::qgrid-1.1.1-py37_1001'.
LinkError: post-link script failed for package conda-forge::qgrid-1.1.1-py37_1001
running your command again with `-v` will provide additional information
location of failed script: /home/sivanov/anaconda3/envs/qgrid-environment2/bin/.qgrid-post-link.sh
==> script messages <==
<None>

Attempting to roll back.

ERROR conda.core.link:_execute(502): An error occurred while installing package 'conda-forge::qgrid-1.1.1-py37_1001'.
LinkError: post-link script failed for package conda-forge::qgrid-1.1.1-py37_1001
running your command again with `-v` will provide additional information
location of failed script: /home/sivanov/anaconda3/envs/qgrid-environment2/bin/.qgrid-post-link.sh
==> script messages <==
<None>

Attempting to roll back.

Rolling back transaction: done

LinkError: post-link script failed for package conda-forge::qgrid-1.1.1-py37_1001
running your command again with `-v` will provide additional information
location of failed script: /home/sivanov/anaconda3/envs/qgrid-environment2/bin/.qgrid-post-link.sh
==> script messages <==
<None>

I install from this environment.yml:

name: qgrid-environment2
channels:
  - conda-forge
  - defaults
dependencies:
  - matplotlib
  - seaborn
  - qgrid
  - pip:
    - openreview-py
    - numpy
    - pandas
    - jellyfish

Tried on several machines, and got the same error. Also pip installation works.

nd7141 commented 5 years ago

Any update on this?

jeffcsauer commented 5 years ago

Same issue.

Python 3.7 OS: Mac (High Sierra) Installation method: conda

rchossein commented 4 years ago

same issue Python 3.7 Docker (FROM ubuntu:19.10) Installation method: conda

slavistan commented 2 years ago

Still broken, unfortunately.

$ python --version
# Python 3.10.6

$ conda --version
# 4.13.0

$ conda install -c conda-forge qgrid
# Collecting package metadata (current_repodata.json): done
# Solving environment: done
#
#
# ==> WARNING: A newer version of conda exists. <==
#   current version: 4.13.0
#   latest version: 4.14.0
#
# Please update conda by running
#
#     $ conda update -n base -c defaults conda
#
#
#
# ## Package Plan ##
#
#   environment location: /home/stan/.conda/envs/pytorch_cuda3090
#
#   added / updated specs:
#     - qgrid
#
#
# The following NEW packages will be INSTALLED:
#
#   qgrid              conda-forge/noarch::qgrid-1.3.1-pyhd8ed1ab_3
#
#
# Proceed ([y]/n)? y
#
# Preparing transaction: done
# Verifying transaction: done
# Executing transaction: done
# ERROR conda.core.link:_execute(730): An error occurred while installing package 'conda-forge::qgrid-1.3.1-pyhd8ed1ab_3'.
# Rolling back transaction: done
#
# LinkError: post-link script failed for package conda-forge::qgrid-1.3.1-pyhd8ed1ab_3
# location of failed script: /home/stan/.conda/envs/pytorch_cuda3090/bin/.qgrid-post-link.sh
# ==> script messages <==
# <None>
# ==> script output <==
# stdout:
# stderr:
# return code: 1
#
# ()
#