Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conda keeps installing outdated version of librosa on Windows #9607

Closed
Keanri828 opened this issue Jan 16, 2020 · 2 comments
Closed

Conda keeps installing outdated version of librosa on Windows #9607

Keanri828 opened this issue Jan 16, 2020 · 2 comments
Labels
locked [bot] locked due to inactivity

Comments

@Keanri828
Copy link

Hello :-)

Current Behavior

I have experienced an issue with librosa during the last months and tried to fix it again today, because this week someone's script ran into the same error. Thanks to the librosa-team I finally know what's wrong: My Windows-computer's version is outdated. Even though I installed my whole Python development environment (Anaconda, IDE) on this computer today. After updating conda (the Anaconda-installer's version seems to be outdated) it is still not possible to update librosa to 0.7.2 or to remove it and install the current version.

In my case this only happens on Windows, my Mac installed 0.7.1 last year without any issues. This also seems to happen on Google Collab, but I cannot provide further information to that.

Steps to Reproduce

I created a new environment and installed librosa (after installing pandas to reproduce my thesis' environment) via conda install -c conda-forge librosa. The following console output shows my installed packages after installing librosa:

(librosaTest_new) C:\Users\Fiona\PycharmProjects\librosaTest>conda list
# packages in environment at C:\Users\Fiona\Anaconda3\envs\librosaTest_new:
#
# Name                    Version                   Build  Channel
audioread                 2.1.8                    py37_1    conda-forge
blas                      1.0                         mkl
ca-certificates           2019.11.28           hecc5488_0    conda-forge
certifi                   2019.11.28               py37_0    conda-forge
cycler                    0.10.0                     py_2    conda-forge
decorator                 4.4.1                      py_0    conda-forge
freetype                  2.10.0               h563cfd7_1    conda-forge
icc_rt                    2019.0.0             h0cc432a_1
icu                       64.2                 he025d50_1    conda-forge
intel-openmp              2019.4                      245
joblib                    0.14.1                     py_0    conda-forge
jpeg                      9c                hfa6e2cd_1001    conda-forge
kiwisolver                1.1.0            py37he980bc4_0    conda-forge
libblas                   3.8.0                    14_mkl    conda-forge
libcblas                  3.8.0                    14_mkl    conda-forge
libclang                  9.0.1           default_hf44288c_0    conda-forge
liblapack                 3.8.0                    14_mkl    conda-forge
libpng                    1.6.37               h7602738_0    conda-forge
librosa                   0.6.3                      py_0    conda-forge
llvmlite                  0.31.0                   py37_0    conda-forge
matplotlib                3.1.2                    py37_1    conda-forge
matplotlib-base           3.1.2            py37h2981e6d_1    conda-forge
mkl                       2019.4                      245
mkl-service               2.3.0            py37hfa6e2cd_0    conda-forge
numba                     0.47.0           py37h67a5e14_0    conda-forge
numpy                     1.17.3           py37hc71023c_0    conda-forge
openssl                   1.1.1d               hfa6e2cd_0    conda-forge
pandas                    0.25.3           py37he350917_0    conda-forge
pip                       19.3.1                   py37_0    conda-forge
pyparsing                 2.4.6                      py_0    conda-forge
pyqt                      5.12.3           py37h6538335_1    conda-forge
pyqt5-sip                 4.19.18                  pypi_0    pypi
pyqtwebengine             5.12.1                   pypi_0    pypi
python                    3.7.6                h5b45d93_2    conda-forge
python-dateutil           2.8.1                      py_0    conda-forge
pytz                      2019.3                     py_0    conda-forge
qt                        5.12.5               h7ef1ec2_0    conda-forge
resampy                   0.2.2                      py_0    conda-forge
scikit-learn              0.22.1           py37h7208079_1    conda-forge
scipy                     1.3.1            py37h29ff71c_0    conda-forge
setuptools                45.0.0                   py37_1    conda-forge
six                       1.14.0                   py37_0    conda-forge
sqlite                    3.30.1               hfa6e2cd_0    conda-forge
tornado                   6.0.3            py37hfa6e2cd_0    conda-forge
vc                        14.1                 h0510ff6_4
vs2015_runtime            14.16.27012          hf0eaf9b_1
wheel                     0.33.6                   py37_0    conda-forge
wincertstore              0.2                   py37_1003    conda-forge
zlib                      1.2.11            h2fa13f4_1006    conda-forge

In another environment I tried to install the current version via conda install -c conda-forge librosa=0.7.2, but it seems to run into an error:

(librosaTest_new2) C:\Users\Fiona\PycharmProjects\librosaTest>conda install -c conda-forge librosa=0.7.2
Collecting package metadata (current_repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Solving environment: failed with repodata from current_repodata.json, will retry with next repodata source.
Collecting package metadata (repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Solving environment: /
Found conflicts! Looking for incompatible packages.
This can take several minutes.  Press CTRL-C to abort.
failed

UnsatisfiableError: The following specifications were found to be incompatible with each other:



Package vs2015_runtime conflicts for:
python=3.7 -> vs2015_runtime[version='>=14.16.27012,<15.0a0']
Package audioread conflicts for:
librosa=0.7.2 -> audioread[version='>=2.0.0']
Package openssl conflicts for:
python=3.7 -> openssl[version='>=1.1.1a,<1.1.2a|>=1.1.1b,<1.1.2a|>=1.1.1c,<1.1.2a|>=1.1.1d,<1.1.2a']
Package joblib conflicts for:
librosa=0.7.2 -> joblib[version='>=0.12.0']
Package decorator conflicts for:
librosa=0.7.2 -> decorator[version='>=3.0.0']
Package scipy conflicts for:
librosa=0.7.2 -> scipy[version='>=1.0.0']
Package numpy conflicts for:
librosa=0.7.2 -> numpy[version='>=1.15.0']
Package resampy conflicts for:
librosa=0.7.2 -> resampy[version='>=0.2.0']
Package sqlite conflicts for:
python=3.7 -> sqlite[version='>=3.25.3,<4.0a0|>=3.26.0,<4.0a0|>=3.27.2,<4.0a0|>=3.28.0,<4.0a0|>=3.29.0,<4.0a0|>=3.30.1,<4.0a0']
Package setuptools conflicts for:
librosa=0.7.2 -> setuptools
Package scikit-learn conflicts for:
librosa=0.7.2 -> scikit-learn[version='>=0.14.0,!=0.19.0']
Package numba conflicts for:
librosa=0.7.2 -> numba[version='>=0.38.0']
Package pip conflicts for:
python=3.7 -> pip
Package matplotlib conflicts for:
librosa=0.7.2 -> matplotlib[version='>=1.5.0']
Package six conflicts for:
librosa=0.7.2 -> six[version='>=1.3']
Package pysoundfile conflicts for:
librosa=0.7.2 -> pysoundfile[version='>=0.9.0']
Package vc conflicts for:
python=3.7 -> vc[version='14.*|>=14,<15.0a0|>=14.1,<15.0a0']

I'm sadly not very experienced with Python yet (most of my knowledge is based on learning-by-doing while writing my thesis). I currently have no more ideas how to try to fix this.

Expected Behavior

conda install -c conda-forge librosa should install 0.7.2 instead of 0.6.3.

Environment Information

`conda info`

     active environment : librosaTest_new
    active env location : C:\Users\Fiona\Anaconda3\envs\librosaTest_new
            shell level : 1
       user config file : C:\Users\Fiona\.condarc
 populated config files : C:\Users\Fiona\.condarc
          conda version : 4.8.1
    conda-build version : 3.18.9
         python version : 3.7.4.final.0
       virtual packages : __cuda=10.2
       base environment : C:\Users\Fiona\Anaconda3  (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/r/win-64
                          https://repo.anaconda.com/pkgs/r/noarch
                          https://repo.anaconda.com/pkgs/msys2/win-64
                          https://repo.anaconda.com/pkgs/msys2/noarch
          package cache : C:\Users\Fiona\Anaconda3\pkgs
                          C:\Users\Fiona\.conda\pkgs
                          C:\Users\Fiona\AppData\Local\conda\conda\pkgs
       envs directories : C:\Users\Fiona\Anaconda3\envs
                          C:\Users\Fiona\.conda\envs
                          C:\Users\Fiona\AppData\Local\conda\conda\envs
               platform : win-64
             user-agent : conda/4.8.1 requests/2.22.0 CPython/3.7.4 Windows/10 Windows/10.0.18362
          administrator : False
             netrc file : None
           offline mode : False

`conda config --show-sources`

==> C:\Users\Fiona\.condarc <==
ssl_verify: True
channels:
  - conda-forge
  - defaults

`conda list --show-channel-urls`

# packages in environment at C:\Users\Fiona\Anaconda3\envs\librosaTest_new:
#
# Name                    Version                   Build  Channel
audioread                 2.1.8                    py37_1    conda-forge
blas                      1.0                         mkl    defaults
ca-certificates           2019.11.28           hecc5488_0    conda-forge
certifi                   2019.11.28               py37_0    conda-forge
cycler                    0.10.0                     py_2    conda-forge
decorator                 4.4.1                      py_0    conda-forge
freetype                  2.10.0               h563cfd7_1    conda-forge
icc_rt                    2019.0.0             h0cc432a_1    defaults
icu                       64.2                 he025d50_1    conda-forge
intel-openmp              2019.4                      245    defaults
joblib                    0.14.1                     py_0    conda-forge
jpeg                      9c                hfa6e2cd_1001    conda-forge
kiwisolver                1.1.0            py37he980bc4_0    conda-forge
libblas                   3.8.0                    14_mkl    conda-forge
libcblas                  3.8.0                    14_mkl    conda-forge
libclang                  9.0.1           default_hf44288c_0    conda-forge
liblapack                 3.8.0                    14_mkl    conda-forge
libpng                    1.6.37               h7602738_0    conda-forge
librosa                   0.6.3                      py_0    conda-forge
llvmlite                  0.31.0                   py37_0    conda-forge
matplotlib                3.1.2                    py37_1    conda-forge
matplotlib-base           3.1.2            py37h2981e6d_1    conda-forge
mkl                       2019.4                      245    defaults
mkl-service               2.3.0            py37hfa6e2cd_0    conda-forge
numba                     0.47.0           py37h67a5e14_0    conda-forge
numpy                     1.17.3           py37hc71023c_0    conda-forge
openssl                   1.1.1d               hfa6e2cd_0    conda-forge
pandas                    0.25.3           py37he350917_0    conda-forge
pip                       19.3.1                   py37_0    conda-forge
pyparsing                 2.4.6                      py_0    conda-forge
pyqt                      5.12.3           py37h6538335_1    conda-forge
pyqt5-sip                 4.19.18                  pypi_0    pypi
pyqtwebengine             5.12.1                   pypi_0    pypi
python                    3.7.6                h5b45d93_2    conda-forge
python-dateutil           2.8.1                      py_0    conda-forge
pytz                      2019.3                     py_0    conda-forge
qt                        5.12.5               h7ef1ec2_0    conda-forge
resampy                   0.2.2                      py_0    conda-forge
scikit-learn              0.22.1           py37h7208079_1    conda-forge
scipy                     1.3.1            py37h29ff71c_0    conda-forge
setuptools                45.0.0                   py37_1    conda-forge
six                       1.14.0                   py37_0    conda-forge
sqlite                    3.30.1               hfa6e2cd_0    conda-forge
tornado                   6.0.3            py37hfa6e2cd_0    conda-forge
vc                        14.1                 h0510ff6_4    defaults
vs2015_runtime            14.16.27012          hf0eaf9b_1    defaults
wheel                     0.33.6                   py37_0    conda-forge
wincertstore              0.2                   py37_1003    conda-forge
zlib                      1.2.11            h2fa13f4_1006    conda-forge

@msarahan
Copy link
Contributor

This is a problem with the librosa package. You can't install it at all, even by itself:

conda create -n rosa --dry-run librosa=0.7.2 -c conda-forge
Collecting package metadata (current_repodata.json): done
Solving environment: failed with repodata from current_repodata.json, will retry with next repodata source.
Collecting package metadata (repodata.json): done
Solving environment: failed

UnsatisfiableError

Please take this up at https://github.com/conda-forge/librosa-feedstock/issues - conda-forge is a different organization from conda/Anaconda. Anaconda does not maintain that package.

@github-actions
Copy link

Hi there, thank you for your contribution to Conda!

This issue has been automatically locked since it has not had recent activity after it was closed.

Please open a new issue if needed.

@github-actions github-actions bot added the locked [bot] locked due to inactivity label Aug 24, 2021
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 24, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
locked [bot] locked due to inactivity
Projects
None yet
Development

No branches or pull requests

2 participants