question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Windows installation looks broken

See original GitHub issue

Step to reproduce (on Windows 10):

$ conda info
     active environment : base
    active env location : C:\Users\hadim\Miniconda3
            shell level : 1
       user config file : C:\Users\hadim\.condarc
 populated config files : C:\Users\hadim\.condarc
          conda version : 4.5.11
    conda-build version : not installed
         python version : 3.7.0.final.0
       base environment : C:\Users\hadim\Miniconda3  (writable)
           channel URLs : https://conda.anaconda.org/conda-forge/win-64
                          https://conda.anaconda.org/conda-forge/noarch
                          https://repo.anaconda.com/pkgs/main/win-64
                          https://repo.anaconda.com/pkgs/main/noarch
                          https://repo.anaconda.com/pkgs/free/win-64
                          https://repo.anaconda.com/pkgs/free/noarch
                          https://repo.anaconda.com/pkgs/r/win-64
                          https://repo.anaconda.com/pkgs/r/noarch
                          https://repo.anaconda.com/pkgs/pro/win-64
                          https://repo.anaconda.com/pkgs/pro/noarch
                          https://repo.anaconda.com/pkgs/msys2/win-64
                          https://repo.anaconda.com/pkgs/msys2/noarch
          package cache : C:\Users\hadim\Miniconda3\pkgs
                          C:\Users\hadim\AppData\Local\conda\conda\pkgs
       envs directories : C:\Users\hadim\Miniconda3\envs
                          C:\Users\hadim\AppData\Local\conda\conda\envs
                          C:\Users\hadim\.conda\envs
               platform : win-64
             user-agent : conda/4.5.11 requests/2.19.1 CPython/3.7.0 Windows/10 Windows/10.0.17134
          administrator : False
             netrc file : None
           offline mode : False
conda config --add channels conda-forge 
conda create -n test python
conda activate test
conda install ipyvolume

The error:

Solving environment: done

## Package Plan ##

  environment location: C:\Users\hadim\Miniconda3\envs\test

  added / updated specs:
    - ipyvolume


The following packages will be downloaded:

    package                    |            build
    ---------------------------|-----------------
    libpng-1.6.34              |           vc14_0         547 KB  conda-forge
    matplotlib-2.2.3           |   py37h31860fd_0         6.5 MB  conda-forge
    ------------------------------------------------------------
                                           Total:         7.0 MB

The following NEW packages will be INSTALLED:

    asn1crypto:              0.24.0-py37_1003          conda-forge
    attrs:                   18.2.0-py_0               conda-forge
    backcall:                0.1.0-py_0                conda-forge
    blas:                    1.0-mkl
    bleach:                  3.0.2-py_0                conda-forge
    ca-certificates:         2018.10.15-ha4d7672_0     conda-forge
    cffi:                    1.11.5-py37hfa6e2cd_1001  conda-forge
    chardet:                 3.0.4-py37_1003           conda-forge
    cloudpickle:             0.6.1-py_0                conda-forge
    colorama:                0.4.0-py_0                conda-forge
    cryptography:            2.3-py37h74b6da3_0        conda-forge
    cryptography-vectors:    2.3.1-py37_1000           conda-forge
    cycler:                  0.10.0-py_1               conda-forge
    cytoolz:                 0.9.0.1-py37hfa6e2cd_1001 conda-forge
    dask-core:               0.20.2-py_0               conda-forge
    decorator:               4.3.0-py_0                conda-forge
    entrypoints:             0.2.3-py37_1002           conda-forge
    freetype:                2.9.1-he8b6a0d_1004       conda-forge
    icc_rt:                  2017.0.4-h97af966_0
    icu:                     58.2-vc14_0               conda-forge [vc14]
    idna:                    2.7-py37_1002             conda-forge
    imageio:                 2.4.1-py37_1000           conda-forge
    intel-openmp:            2019.1-144
    ipydatawidgets:          4.0.0-py_0                conda-forge
    ipykernel:               5.1.0-py37h39e3cac_1001   conda-forge
    ipyscales:               0.3.0-py_0                conda-forge
    ipython:                 7.1.1-py37h39e3cac_1000   conda-forge
    ipython_genutils:        0.2.0-py_1                conda-forge
    ipyvolume:               0.5.1-py37_1000           conda-forge
    ipywebrtc:               0.4.2-py37_1000           conda-forge
    ipywidgets:              7.4.2-py_0                conda-forge
    jedi:                    0.13.1-py37_1000          conda-forge
    jinja2:                  2.10-py_1                 conda-forge
    jpeg:                    9b-vc14_2                 conda-forge [vc14]
    jsonschema:              3.0.0a3-py37_1000         conda-forge
    jupyter_client:          5.2.3-py_1                conda-forge
    jupyter_core:            4.4.0-py_0                conda-forge
    kiwisolver:              1.0.1-py37he980bc4_1002   conda-forge
    libpng:                  1.6.34-vc14_0             conda-forge [vc14]
    libsodium:               1.0.16-vc14_0             conda-forge [vc14]
    libtiff:                 4.0.9-vc14_0              conda-forge [vc14]
    m2w64-gcc-libgfortran:   5.3.0-6
    m2w64-gcc-libs:          5.3.0-7
    m2w64-gcc-libs-core:     5.3.0-7
    m2w64-gmp:               6.1.0-2
    m2w64-libwinpthread-git: 5.0.0.4634.697f757-2
    markupsafe:              1.1.0-py37hfa6e2cd_1000   conda-forge
    matplotlib:              2.2.3-py37h31860fd_0      conda-forge
    mistune:                 0.8.4-py37hfa6e2cd_1000   conda-forge
    mkl:                     2018.0.3-1
    mkl_fft:                 1.0.6-py37hdbbee80_0
    mkl_random:              1.0.1-py37h77b88f5_1
    msys2-conda-epoch:       20160418-1
    nbconvert:               5.3.1-py_1                conda-forge
    nbformat:                4.4.0-py_1                conda-forge
    networkx:                2.2-py_1                  conda-forge
    notebook:                5.7.2-py37_1000           conda-forge
    numpy:                   1.15.4-py37ha559c80_0
    numpy-base:              1.15.4-py37h8128ebf_0
    olefile:                 0.46-py_0                 conda-forge
    openssl:                 1.0.2o-vc14_0             conda-forge [vc14]
    pandoc:                  2.3.1-0                   conda-forge
    pandocfilters:           1.4.2-py_1                conda-forge
    parso:                   0.3.1-py_0                conda-forge
    pickleshare:             0.7.5-py37_1000           conda-forge
    pillow:                  5.2.0-py37h08bbbbd_0
    prometheus_client:       0.4.2-py_0                conda-forge
    prompt_toolkit:          2.0.7-py_0                conda-forge
    pycparser:               2.19-py_0                 conda-forge
    pygments:                2.2.0-py_1                conda-forge
    pyopenssl:               18.0.0-py37_1000          conda-forge
    pyparsing:               2.3.0-py_0                conda-forge
    pyqt:                    5.6.0-py37h764d66f_7      conda-forge
    pyrsistent:              0.14.7-py37hfa6e2cd_1000  conda-forge
    pysocks:                 1.6.8-py37_1002           conda-forge
    python-dateutil:         2.7.5-py_0                conda-forge
    pythreejs:               2.0.2-py37_1000           conda-forge
    pytz:                    2018.7-py_0               conda-forge
    pywavelets:              1.0.1-py37h452e1ab_1000   conda-forge
    pywinpty:                0.5.4-py37_1002           conda-forge
    pyzmq:                   17.1.2-py37hf576995_1001  conda-forge
    qt:                      5.6.2-vc14_1              conda-forge [vc14]
    requests:                2.20.1-py37_1000          conda-forge
    scikit-image:            0.14.1-py37h6538335_1001  conda-forge
    scipy:                   1.1.0-py37h4f6bf74_1
    send2trash:              1.5.0-py_0                conda-forge
    sip:                     4.18.1-py37h6538335_0     conda-forge
    six:                     1.11.0-py37_1001          conda-forge
    terminado:               0.8.1-py37_1001           conda-forge
    testpath:                0.4.2-py37_1000           conda-forge
    tk:                      8.6.8-vc14_0              conda-forge [vc14]
    toolz:                   0.9.0-py_1                conda-forge
    tornado:                 5.1.1-py37hfa6e2cd_1000   conda-forge
    traitlets:               4.3.2-py37_1000           conda-forge
    traittypes:              0.2.1-py_1                conda-forge
    urllib3:                 1.23-py37_1001            conda-forge
    wcwidth:                 0.1.7-py_1                conda-forge
    webencodings:            0.5.1-py_1                conda-forge
    widgetsnbextension:      3.4.2-py37_1000           conda-forge
    win_inet_pton:           1.0.1-py37_1002           conda-forge
    winpty:                  0.4.3-4                   conda-forge
    zeromq:                  4.2.5-vc14_2              conda-forge [vc14]
    zlib:                    1.2.11-vc14_0             conda-forge [vc14]

Proceed ([y]/n)? y


Downloading and Extracting Packages
libpng-1.6.34        | 547 KB    | ############################################################################ | 100%
matplotlib-2.2.3     | 6.5 MB    | ############################################################################ | 100%
Preparing transaction: done
Verifying transaction: done
Executing transaction: - Enabling notebook extension jupyter-js-widgets/extension...
      - Validating: ok

| Enabling notebook extension jupyter-threejs/extension...
      - Validating: ok

failed
ERROR conda.core.link:_execute(502): An error occurred while installing package 'conda-forge::ipyvolume-0.5.1-py37_1000'.
LinkError: post-link script failed for package conda-forge::ipyvolume-0.5.1-py37_1000
running your command again with `-v` will provide additional information
location of failed script: C:\Users\hadim\Miniconda3\envs\test\Scripts\.ipyvolume-post-link.bat
==> script messages <==
<None>

Attempting to roll back.

Rolling back transaction: done

LinkError: post-link script failed for package conda-forge::ipyvolume-0.5.1-py37_1000
running your command again with `-v` will provide additional information
location of failed script: C:\Users\hadim\Miniconda3\envs\test\Scripts\.ipyvolume-post-link.bat
==> script messages <==
<None>

I also attach the dump of conda install -v ipyvolume whcih contains a more detailed output: ipyvolume.txt

I feel like the issue could be related to https://github.com/maartenbreddels/ipyvolume/issues/93.

Last thing: ipyvolume don’t want to install with matplolib >=3 but only with 2.2. I don’t know if it’s related to this bug. I can open a new issue if needed.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:16 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
maartenbreddelscommented, Nov 29, 2018

Thanks wizard 😉

2reactions
glygcommented, Nov 29, 2018

He is clearly a wizard 😄

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to Repair a Corrupted Windows 10 Installation
The best tool for repairing damaged Windows installations is System File Checker (SFC). Like many of Microsoft's most powerful repair tools, SFC runs...
Read more >
How to troubleshoot Windows Installer errors - Microsoft Support
Right-click Windows Installer, and then click Properties. If the Startup type box is set to Disabled, change it to Manual. Click OK to...
Read more >
How to Repair Corrupted Installation on Windows 10 - Saint
1. Use the SFC Tool. · 2. Use the DISM Tool. · 3. Run the SFC Scan Before Windows Starts. · 4. Check...
Read more >
Tips for Repairing a Broken Windows 10 Installation
Fix a Broken Windows 10 installation​​ If the Start menu is inaccessible after an upgrade, press Windows key + X then click Programs...
Read more >
How to Fix Windows 10 with a 30-Minute Repair Install
Especially if your problem (or problems) are software-related, this repair is quite likely to fix them. Simply put, it replaces ALL of the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found