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.

conda / mamba installation not working due to wrapt pinning

See original GitHub issue

Trying to install alibi-detect with the following command

mamba install -c conda-forge alibi-detect

as stated on Getting Started causes the following error message

Encountered problems while solving:
  - package alibi-detect-0.8.1-pyhd8ed1ab_0 requires wrapt >=1.12.1,<1.13.0, but none of the providers can be installed

Unfortunately, wrapt seems not to be available currently on conda-forge for alibi-detects pinning.

Is there a specific reason why the newest wrapt version might not work?

Issue Analytics

  • State:open
  • Created a year ago
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
ascillitoecommented, Jul 29, 2022

I have now removed wrapt and absl-py from our v0.10.0 conda recipe. However, installation on Python 3.10 is still not possible, since we require transformers, and transformers requires tokenizers, the recipe for which requires python >=3.9,<3.10.0a0.

I shall leave this issue open so that we can reassess the situation in the near future.

1reaction
jklaisecommented, Jul 15, 2022

Ah I see, those wrapt and absl-py are not requirements in the setup.py of the repo but they’ve been included in the conda recipe to pass some dependency consistency checks.

That being said, Python 3.10 support has not yet been released which might result in dependency errors like these. Can you try with Python 3.9?

I’ll leave a note that once we release the next version with Python 3.10 support we may need to update the conda recipe @ascillitoe.

Read more comments on GitHub >

github_iconTop Results From Across the Web

BUG: ARM mambaforge breaks when updating mamba in x86 ...
It doesn't want to work so I'm installing miniforge now, hoping that conda remains as a fallback in case mamba breaks again. Something's...
Read more >
Python Conda determining what Python version to install
When I install audioread with mamba mamba install audioread , It said Pinned packages: - python 3.7.* Encountered problems while solving: - ...
Read more >
Release notes — conda 22.11.1.post14+4f2f30268 ...
Fix for conda update and conda install issues related to channel notices. ... libmamba community project - the library version of the mamba...
Read more >
conda-forge - :: Anaconda.org
A software package for algebraic, geometric and combinatorial problems... 7za, 9.20, LGPL, X, A file archiver with a high compression ratio. 7zip, 19.00 ......
Read more >
Setting up CPU env - Part 2 - Linux Notes - Programming 101
Make sure you do not run over alloted walltime while configuring conda env, especially when you are in the middle of installing via...
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