embotech/ecos

conda package 2.0.8 has broken version number (windows, python 3.8)

Opened this issue · 0 comments

I'm having issues installing ecos with conda. The installation works fine, but the version number is reported as 0.0.0 instead of 2.0.8. This gives me trouble when I try to pip install a package that requires cvxpy, because it tries to pip install ecos>=2, overriding the one from conda.

Please see the output below.

(base) PS C:\Users\username> conda create --name ecostest python=3.8
    ...skipping output
(base) PS C:\Users\username> conda activate ecostest
(ecostest) PS C:\Users\username> conda install -c conda-forge ecos
Collecting package metadata (current_repodata.json): done
Solving environment: done


==> WARNING: A newer version of conda exists. <==
  current version: 4.10.0
  latest version: 4.10.3

Please update conda by running

    $ conda update -n base -c defaults conda



## Package Plan ##

  environment location: C:\Users\14439\Anaconda3\envs\ecostest

  added / updated specs:
    - ecos


The following packages will be downloaded:

    package                    |            build
    ---------------------------|-----------------
    ca-certificates-2021.10.8  |       h5b45459_0         176 KB  conda-forge
    certifi-2021.10.8          |   py38haa244fe_0         145 KB  conda-forge
    ecos-2.0.8                 |   py38h6f4d8f0_1          82 KB  conda-forge
    intel-openmp-2021.3.0      |    h57928b3_3372         3.0 MB  conda-forge
    libblas-3.9.0              |     11_win64_mkl         4.5 MB  conda-forge
    libcblas-3.9.0             |     11_win64_mkl         4.5 MB  conda-forge
    liblapack-3.9.0            |     11_win64_mkl         4.5 MB  conda-forge
    mkl-2021.3.0               |     hb70f87d_564       179.7 MB  conda-forge
    numpy-1.21.2               |   py38h089cfbf_0         5.6 MB  conda-forge
    openssl-1.1.1l             |       h8ffe710_0         5.7 MB  conda-forge
    python_abi-3.8             |           2_cp38           4 KB  conda-forge
    scipy-1.7.1                |   py38ha1292f7_0        24.5 MB  conda-forge
    tbb-2021.3.0               |       h2d74725_0         143 KB  conda-forge
    ------------------------------------------------------------
                                           Total:       232.6 MB

The following NEW packages will be INSTALLED:

  ecos               conda-forge/win-64::ecos-2.0.8-py38h6f4d8f0_1
  intel-openmp       conda-forge/win-64::intel-openmp-2021.3.0-h57928b3_3372
  libblas            conda-forge/win-64::libblas-3.9.0-11_win64_mkl
  libcblas           conda-forge/win-64::libcblas-3.9.0-11_win64_mkl
  liblapack          conda-forge/win-64::liblapack-3.9.0-11_win64_mkl
  m2w64-gcc-libgfor~ conda-forge/win-64::m2w64-gcc-libgfortran-5.3.0-6
  m2w64-gcc-libs     conda-forge/win-64::m2w64-gcc-libs-5.3.0-7
  m2w64-gcc-libs-co~ conda-forge/win-64::m2w64-gcc-libs-core-5.3.0-7
  m2w64-gmp          conda-forge/win-64::m2w64-gmp-6.1.0-2
  m2w64-libwinpthre~ conda-forge/win-64::m2w64-libwinpthread-git-5.0.0.4634.697f757-2
  mkl                conda-forge/win-64::mkl-2021.3.0-hb70f87d_564
  msys2-conda-epoch  conda-forge/win-64::msys2-conda-epoch-20160418-1
  numpy              conda-forge/win-64::numpy-1.21.2-py38h089cfbf_0
  python_abi         conda-forge/win-64::python_abi-3.8-2_cp38
  scipy              conda-forge/win-64::scipy-1.7.1-py38ha1292f7_0
  tbb                conda-forge/win-64::tbb-2021.3.0-h2d74725_0

The following packages will be UPDATED:

  ca-certificates    pkgs/main::ca-certificates-2021.9.30-~ --> conda-forge::ca-certificates-2021.10.8-h5b45459_0
  certifi            pkgs/main::certifi-2021.5.30-py38haa9~ --> conda-forge::certifi-2021.10.8-py38haa244fe_0

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

  openssl              pkgs/main::openssl-1.1.1l-h2bbff1b_0 --> conda-forge::openssl-1.1.1l-h8ffe710_0


Proceed ([y]/n)? y


Downloading and Extracting Packages
ecos-2.0.8           | 82 KB     | ################################################################################################################################ | 100%
tbb-2021.3.0         | 143 KB    | ################################################################################################################################ | 100%
ca-certificates-2021 | 176 KB    | ################################################################################################################################ | 100%
libcblas-3.9.0       | 4.5 MB    | ################################################################################################################################ | 100%
mkl-2021.3.0         | 179.7 MB  | ################################################################################################################################ | 100%
certifi-2021.10.8    | 145 KB    | ################################################################################################################################ | 100%
openssl-1.1.1l       | 5.7 MB    | ################################################################################################################################ | 100%
numpy-1.21.2         | 5.6 MB    | ################################################################################################################################ | 100%
python_abi-3.8       | 4 KB      | ################################################################################################################################ | 100%
libblas-3.9.0        | 4.5 MB    | ################################################################################################################################ | 100%
intel-openmp-2021.3. | 3.0 MB    | ################################################################################################################################ | 100%
scipy-1.7.1          | 24.5 MB   | ################################################################################################################################ | 100%
liblapack-3.9.0      | 4.5 MB    | ################################################################################################################################ | 100%
Preparing transaction: done
Verifying transaction: done
Executing transaction: done
(ecostest) PS C:\Users\14439> pip install ecos
Requirement already satisfied: ecos in c:\users\14439\anaconda3\envs\ecostest\lib\site-packages (0.0.0)
Requirement already satisfied: numpy>=1.6 in c:\users\14439\anaconda3\envs\ecostest\lib\site-packages (from ecos) (1.21.2)
Requirement already satisfied: scipy>=0.9 in c:\users\14439\anaconda3\envs\ecostest\lib\site-packages (from ecos) (1.7.1)