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.

Installing `pymbar` from conda forcing a downgrade of Python 3.7 → 3.6

See original GitHub issue

Installing pymbar from omnia via conda is trying to downgrade python (and a bunch of other packages). I’m not sure this is the intended effect (I can’t see anything in the repository pinning python=3.6 or python<3.7).

Briefly, I had an environment with pymbar installed, upgraded ambertools from 18 to 19 and python from 3.6.x to 3.7.3. I then lost the ability to import pymbar. I thought this was probably removed accidentally during whatever magic conda uses for conflict management, but trying to reinstall pymbar using the same command will downgrade ~20 packages, including python.

(paprika-dev) /m/d/d/p/pAPRika-dev ❯❯❯ conda install -c omnia pymbar                                             ✘ 2 openmm-2
Collecting package metadata: done
Solving environment: done

## Package Plan ##

  environment location: /home/davids4/data/anaconda3/envs/paprika-dev

  added / updated specs:
    - pymbar


The following packages will be downloaded:

    package                    |            build
    ---------------------------|-----------------
    coverage-4.3.4             |           py36_0         226 KB  omnia
    ------------------------------------------------------------
                                           Total:         226 KB

The following NEW packages will be INSTALLED:

  pymbar             omnia/linux-64::pymbar-3.0.1.beta0-np111py36_0


[snip]
The following packages will be DOWNGRADED:
[snip]
  python                                   3.7.3-h0371630_0 --> 3.6.8-h0371630_0

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
Lnadencommented, May 6, 2019

Right. If you use another conda install or similar command with different -c ... settings, it resolves only for that command and makes changes to the environment to solve that specific call. Its why we say for all omnia packages to also include conda-forge as a higher priority channel to help reduce those oddities. If you are having issues with resolution, try doing everything in 1 line carefully considering the channel priority.

0reactions
slochowercommented, Dec 2, 2019

Yup

Read more comments on GitHub >

github_iconTop Results From Across the Web

conda install downgrade python version - Stack Overflow
Hi. I did conda install python=3.6.6 but got 3.6.9 installed. How to force conda to install requested version?
Read more >
ancaonda wants to downgrade from python 3.7 to 3.6 #10221
I use anaconda python for datascience and algorithmic art. I keep my distribution up to date using the recommended conda update anaconda ......
Read more >
Changing the Python Version in Conda - Sparrow Computing
conda create --name my-cool-project python=3.7 pip. If you want a different version, like Python 3.6, just swap in python=3.6 .
Read more >
Changing your Python version with Anaconda - Geo-code
Step-by-step downgrade/upgrade · Open up your terminal · Search for available versions - can search for what you want, but we'll look for...
Read more >
downgrade python 3.8 to 3.6 - You.com | The AI Search ...
The reason for the error is that conda install expects the system Python version for some system information; that Python version lives at...
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