DRL / blobtools

Modular command-line solution for visualisation, quality control and taxonomic partitioning of genome datasets
GNU General Public License v3.0
184 stars 44 forks source link

python defaulting to wrong version during installation #104

Closed sjfleck closed 4 years ago

sjfleck commented 4 years ago

Hello, I'm having difficulty installing blobtools. When I check my python version before entering this command (conda install -c anaconda matplotlib docopt tqdm wget pyyaml git), it's 3.7 or 2.7 (I tried with both). After the command is run, I check the version again and it defaulted to python 3.8.5. Unfortunately 3.8.5 is not a valid python for the following step (conda install -c bioconda pysam --update-deps) and will only result in errors. I've tried many different options, but I cannot get this installation to work. Any help with this issue would be greatly appreciated. Thank you, Steve

Here is the error: Preparing transaction: done Verifying transaction: done Executing transaction: done (blobtools) bash-4.2$ conda install -c bioconda pysam --update-deps Collecting package metadata (current_repodata.json): done Solving environment: failed with repodata from current_repodata.json, will retry with next repodata source. Solving environment: failed with repodata from current_repodata.json, will retry with next repodata source. Collecting package metadata (repodata.json): done Solving environment: - Found conflicts! Looking for incompatible packages. This can take several minutes. Press CTRL-C to abort. failed
Solving environment: / Found conflicts! Looking for incompatible packages. This can take several minutes. Press CTRL-C to abort. failed

UnsatisfiableError: The following specifications were found to be incompatible with the existing python installation in your environment:

Specifications:

Your python: python=3.8

If python is on the left-most side of the chain, that's the version you've asked for. When python appears to the right, that indicates that the thing on the left is somehow not available for the python version you are constrained to. Note that conda will not change your python version to a different minor version unless you explicitly specify that.

sjfleck commented 4 years ago

this issue was solved by wallacelab https://github.com/DRL/blobtools/issues/98#issue-595955734