Conda install fails with "Malformed version string '~' "

See original GitHub issue
  • xclim version: 0.12.2 from conda-forge
  • Python version: 3.7
  • Operating System: Linux

Description

Installation of xclim through conda fails because of the dependency specification in the conda recipe. pip accepts package specifications with ~= , but conda doesn’t and fails.

What I Did

$  conda install -c conda-forge xclim

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
moulab88commented, Nov 20, 2019

works on leto after update on base environnent: conda update conda You can test the new installation on py37_test env.

0reactions
Zeitsperrecommented, Nov 25, 2019

This issue seems to be fixed and has also resolved two bugs. If only this happened more often!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Malformed version string '~': invalid character(s) - Stack Overflow
This looks like it was fixed with Conda 4.6.0. Upgrading your Conda should resolve the issue. conda upgrade -n base conda.
Read more >
Malformed version string '~': invalid character(s). · Issue #3281 ...
conda install conda-forge::dvc Solving environment: failed CondaValueError: Malformed version string '~': invalid character(s).
Read more >
conda/conda - Gitter
CondaValueError: Value error : Malformed version string '2.0.0b4=np111py35_1': invalid ... Hi all, is it possible to install matplotlib 2.0rc2 using conda.
Read more >
Unable to install cobrapy on Anaconda - Google Groups
Today, all the day, I was trying to install using INSTALL. rst file and surfing on the net but I could not !!...
Read more >
更新conda报错CondaValueError: Malformed version string '~'
CondaValueError: Malformed version string '~': invalid character(s)._1671465600.
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