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:
- Created a year ago
- Reactions:2
- Comments:17 (12 by maintainers)
Top 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 >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
It is possible something was broken and got fixed by this PR https://github.com/conda-forge/pytorch-lightning-feedstock/pull/97
It might have been
future
, as I said, this dependency was dropped between1.7.2
and1.7.3
(at least onconda-forge
side). Both of you reported at the time when latest version out was1.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 😂)