spec2vec icon indicating copy to clipboard operation
spec2vec copied to clipboard

Conda install CondaValueError

Open justinjjvanderhooft opened this issue 3 years ago • 5 comments

Upon:

$ conda install --channel nlesc --channel bioconda --channel conda-forge spec2vec

I get:

Solving environment: failed

CondaValueError: Malformed version string '~': invalid character(s).

Did anyone of you see this before? This is on a server using miniconda3 (and conda version 4.5.11) FYI: the spec2vec conda environment did initialise okay.

justinjjvanderhooft avatar Jul 02 '21 15:07 justinjjvanderhooft

Not sure yet. Maybe updating to conda >=4.6 could help already? E.g. running conda upgrade -n base conda

florian-huber avatar Jul 04 '21 08:07 florian-huber

I tried that using update before, and as with upgrade, it fails in the execution: Executing transaction: failed ERROR conda.core.link:_execute(502): An error occurred while installing package 'conda-forge::asn1crypto-1.4.0-pyh9f0ad1d_0'. FileNotFoundError(2, "No such file or directory: '/mnt/scratch/hooft001/miniconda3/bin/python3.6'") I will see if I can find some info on this error - and otherwise I may need to reinstall the complete miniconda at some point....

justinjjvanderhooft avatar Jul 05 '21 09:07 justinjjvanderhooft

Seems like this is using Python 3.6 which might also cause some issues here. Better to indeed start a new environment with Python 3.7, 3.8 or 3.9 I think.

florian-huber avatar Jul 05 '21 09:07 florian-huber

The environment is created with Python 3.8 as suggested in the instructions. That went okay. It seems like a package (asn1crypto) needs 3.6 rather than 3.8.... wonderful dependency puzzle!

justinjjvanderhooft avatar Jul 05 '21 09:07 justinjjvanderhooft

within the spec2vec environment I now managed to update conda to 4.10 - it still returns the "CondaValueError: Malformed version string '~': invalid character(s)." error though....

justinjjvanderhooft avatar Jul 05 '21 10:07 justinjjvanderhooft