Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conda install CondaValueError #66

Open
justinjjvanderhooft opened this issue Jul 2, 2021 · 5 comments
Open

Conda install CondaValueError #66

justinjjvanderhooft opened this issue Jul 2, 2021 · 5 comments

Comments

@justinjjvanderhooft
Copy link

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.

@florian-huber
Copy link
Member

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

@justinjjvanderhooft
Copy link
Author

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....

@florian-huber
Copy link
Member

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.

@justinjjvanderhooft
Copy link
Author

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
Copy link
Author

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....

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants