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 installation defaults to using a very old version (0.8.5) instead of latest version (1.7)

See original GitHub issue

🐛 Bug

On a new environment, doing the conda installation results in installing “conda-forge/noarch::pytorch-lightning-0.8.5-py_0”.

To Reproduce

conda create -n test_env python=3.9
conda install ipython jupyter
conda install pytorch torchvision torchaudio cudatoolkit=11.6 -c pytorch -c conda-forge
conda install pytorch-lightning -c conda-forge

Expected behavior

It should install latest version when possible.

Environment

  • PyTorch Version (e.g., 1.10): 1.12
  • Python version (e.g., 3.9): 3.9
  • OS (e.g., Linux): Linux
  • CUDA/cuDNN version: 11.6
  • GPU models and configuration: 3090
  • How you installed PyTorch (conda, pip, source): conda

Issue Analytics

  • State:closed
  • Created a year ago
  • Reactions:2
  • Comments:17 (12 by maintainers)

github_iconTop GitHub Comments

2reactions
otajcommented, Sep 22, 2022

It is possible something was broken and got fixed by this PR https://github.com/conda-forge/pytorch-lightning-feedstock/pull/97

1reaction
otajcommented, Sep 22, 2022

It might have been future, as I said, this dependency was dropped between 1.7.2 and 1.7.3 (at least on conda-forge side). Both of you reported at the time when latest version out was 1.7.2. It could be the fact that it had hard time finding some.

Let’s wait on @maxencewynen and if he reports no issue anymore, I will close this. If he’s able to still reproduce, I will investigate further (although I don’t know where to anymore 😂)

Read more comments on GitHub >

github_iconTop Results From Across the Web

Conda is installing a very old version of pytorch-lightning
The problem was solved by launching a new conda environment. Apparently there were some conflicting pre installed dependencies.
Read more >
Release notes
User-facing changes¶. Conda has been updated to v22.9.0. Anaconda Navigator has been updated to v2.3.1. This installer uses python-3.9.
Read more >
Release notes — conda 22.11.1.post14+4f2f30268 ...
Updated conda 4.12 cheatsheet with new anaconda distribution version (#11479) ... Support installing default packages when using conda env create (#10530).
Read more >
Installing HyperSpy — HyperSpy 1.7.3 documentation
To install HyperSpy run the following from the Anaconda Prompt on Windows or from a Terminal on Linux and Mac.
Read more >
Installation — Astropy v5.2
In most cases, this will install a pre-compiled version (called a wheel) of astropy, ... astropy is installed by default with the Anaconda...
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