sepandhaghighi/pycm

Conda install gives version 2.5

bikashg opened this issue · 4 comments

Description

I used the conda install to install this package and get the 2.5 version of pycm even though conda page here https://anaconda.org/sepandhaghighi/pycm mentions version 3.1

Steps/Code to Reproduce

conda install -c sepandhaghighi pycm

Expected Behavior

version 3.1

Actual Behavior

Operating System

Ubuntu 20.04

Python Version

3.8.8

PyCM Version (Use : pycm.__version__)

@bikashg Hi
I don't think the problem is PyCM, it's something related to conda cache.

My suggestions :
1- Clean your conda cache and lock files (take a look at this link)
2- Install a specific version of PyCM: conda install -c sepandhaghighi pycm=3.1

Best Regards

Thanks @sepandhaghighi for suggestions. Conda cache clean didn't help. Later, when I issued conda install -c sepandhaghighi pycm=3.1, I got the following error:

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:

Output in format: Requested package -> Available versionsThe following specifications were found to be incompatible with your system:

  - feature:/linux-64::__glibc==2.31=0
  - feature:|@/linux-64::__glibc==2.31=0

Your installed version is: 2.31

Note that strict channel priority may have removed packages required for satisfiability.```

@bikashg
It's a little weird!!
I tried to reproduce the bug and then fix it by updating conda : conda update conda
Please try it and give me some feedback.

Best Regards

@bikashg Thanks for noting this issue. It has been resolved by editing the readme file. Please check the corresponding section here.