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.

Warning about decorator module

See original GitHub issue

I’m not sure exactly which package is causing this, but I’m seeing the following warnings on AppVeyor when installing packages from the conda-forge channel:

[00:01:05] The following NEW packages will be INSTALLED:
[00:01:05] 
[00:01:05]     astropy:                            1.2.1-np111py34_0              
[00:01:05]     backports.shutil_get_terminal_size: 1.0.0-py34_0        conda-forge
[00:01:05]     backports_abc:                      0.4-py34_0          conda-forge
[00:01:05]     colorama:          
[00:01:05]                  0.3.7-py34_0        conda-forge
[00:01:05]     cycler:  
[00:02:57] WARNING:conda.install:file already exists: 'C:\\conda\\envs\\test\\Lib/site-packages/__pycache__/decorator.cpython-34.pyc'
[00:02:57] WARNING:conda.install:file already exists: 'C:\\conda\\envs\\test\\Lib/site-packages/decorator-4.0.10-py3.4.egg-info/PKG-INFO'
[00:02:57] WARNING:conda.install:file already exists: 'C:\\conda\\envs\\test\\Lib/site-packages/decorator-4.0.10-py3.4.egg-info/SOURCES.txt'
[00:02:57] WARNING:conda.install:file already exists: 'C:\\conda\\envs\\test\\Lib/site-packages/decorator-4.0.10-py3.4.egg-info/dependency_links.txt'
[00:02:57] WARNING:conda.install:file already exists: 'C:\\conda\\envs\\test\\Lib/site-packages/decorator-4.0.10-py3.4.egg-info/not-zip-safe'
[00:02:57] WARNING:conda.install:file already exists: 'C:\\conda\\envs\\test\\Lib/site-packages/decorator-4.0.10-py3.4.egg-info/top_level.txt'
[00:02:57] WARNING:conda.install:file already exists: 'C:\\conda\\envs\\test\\Lib/site-packages/decorator.py'
[00:03:03]                            0.10.0-py34_0       conda-forge

Full log here: https://gist.github.com/astrofrog/dd3b4bcb3dbf4576435e8884e72e6712

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:12 (9 by maintainers)

github_iconTop GitHub Comments

1reaction
zym1010commented, Jul 7, 2016

@ocefpaf Thanks! Currently, I will simply add icu explicitly to make it work…

1reaction
pelsoncommented, Jul 7, 2016

Hi @zym1010,

To give a bit more context, the environment you are creating is:

The following NEW packages will be INSTALLED:
    backports.shutil_get_terminal_size: 1.0.0-py35_0                       conda-forge
    blas:                               1.1-openblas                       conda-forge
    cycler:                             0.10.0-py35_0                      conda-forge
    decorator:                          4.0.10-py35_0                      conda-forge
    entrypoints:                        0.2.2-py35_0                       conda-forge
    fontconfig:                         2.11.1-3                           conda-forge
    freetype:                           2.6.3-1                            conda-forge
    h5py:                               2.6.0-np111py35_4                  conda-forge
    hdf5:                               1.8.17-2                           conda-forge
    ipykernel:                          4.3.1-py35_0                       defaults   
    ipython:                            4.2.1-py35_1                       conda-forge
    ipython_genutils:                   0.1.0-py35_0                       defaults   
    jinja2:                             2.8-py35_1                         defaults   
    jsonschema:                         2.5.1-py35_0                       conda-forge
    jupyter_client:                     4.3.0-py35_0                       conda-forge
    jupyter_core:                       4.1.0-py35_0                       conda-forge
    libgcc:                             5.2.0-0                            defaults   
    libgfortran:                        3.0.0-1                            defaults   
    libiconv:                           1.14-2                             conda-forge
    libpng:                             1.6.23-0                           conda-forge
    libsodium:                          1.0.10-0                           conda-forge
    libxml2:                            2.9.2-0                            defaults   
    markupsafe:                         0.23-py35_2                        defaults   
    matplotlib:                         1.5.2-np111py35_4                  conda-forge
    mistune:                            0.7.3-py35_0                       conda-forge
    nbconvert:                          4.2.0-py35_0                       conda-forge
    nbformat:                           4.0.1-py35_0                       conda-forge
    ncurses:                            5.9-7                              conda-forge
    nose:                               1.3.7-py35_1                       defaults   
    notebook:                           4.2.1-py35_0                       conda-forge
    numpy:                              1.11.0-py35_blas_openblas_201      conda-forge [blas_openblas]
    openblas:                           0.2.18-2                           conda-forge
    openssl:                            1.0.2h-1                           defaults   
    pandas:                             0.18.1-np111py35_0                 conda-forge
    pexpect:                            4.1.0-py35_0                       conda-forge
    pickleshare:                        0.7.2-py35_0                       conda-forge
    pip:                                8.1.2-py35_0                       defaults   
    ptyprocess:                         0.5.1-py35_0                       conda-forge
    pygments:                           2.1.3-py35_0                       defaults   
    pyparsing:                          2.1.4-py35_0                       defaults   
    pyqt:                               4.11.4-py35_3                      defaults   
    python:                             3.5.2-1                            conda-forge
    python-dateutil:                    2.5.3-py35_0                       defaults   
    pytz:                               2016.4-py35_0                      defaults   
    pyzmq:                              15.2.0-py35_1                      defaults   
    qt:                                 4.8.7-3                            defaults   
    readline:                           6.2-2                              defaults   
    scipy:                              0.17.1-np111py35_blas_openblas_200 conda-forge [blas_openblas]
    setuptools:                         23.0.0-py35_0                      defaults   
    simplegeneric:                      0.8.1-py35_1                       defaults   
    sip:                                4.18-py35_0                        conda-forge
    six:                                1.10.0-py35_0                      conda-forge
    sqlite:                             3.13.0-1                           conda-forge
    terminado:                          0.6-py35_0                         conda-forge
    tk:                                 8.5.19-0                           conda-forge
    tornado:                            4.3-py35_1                         defaults   
    traitlets:                          4.2.2-py35_0                       conda-forge
    wheel:                              0.29.0-py35_0                      defaults   
    xz:                                 5.2.2-0                            conda-forge
    zeromq:                             4.1.5-0                            conda-forge
    zlib:                               1.2.8-3                            conda-forge

The qt that has been installed comes from defaults and fundamentally depends upon a package called icu. Unfortunately, the qt package doesn’t express this, and so you are seeing the error:

  File "/home/travis/miniconda2/envs/default-3/lib/python3.5/site-packages/matplotlib/backends/qt_compat.py", line 137, in <module>
    from PyQt4 import QtCore, QtGui
ImportError: libicui18n.so.56: cannot open shared object file: No such file or directory

This was raised with the Continuum folk at https://github.com/conda-forge/matplotlib-feedstock/issues/36#issue-163374341.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Solving warning: “Experimental support for decorators is a ...
This article describes how to solve this warning that could be shown after use “decorators” in TypeScript. A “decorator” is a special kind...
Read more >
Warning control — Python 3.11.1 documentation
Python programmers issue warnings by calling the warn() function defined in this module. (C programmers use PyErr_WarnEx() ; see · Warning messages are...
Read more >
Experimental decorators warning in TypeScript compilation
Experimental support for decorators is a feature that is subject to change in a future release. Set the 'experimentalDecorators' option `to remove this...
Read more >
decorator
Notice that you may run into trouble if in your system there is an older version of the decorator module; in such a...
Read more >
The decorator module (old version)
The aim of the decorator module it to simplify the usage of decorators for the average programmer, and to popularize decorators usage giving...
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