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

python defaulting to wrong version during installation #104

Closed
sjfleck opened this issue Aug 18, 2020 · 1 comment
Closed

python defaulting to wrong version during installation #104

sjfleck opened this issue Aug 18, 2020 · 1 comment

Comments

@sjfleck
Copy link

sjfleck commented Aug 18, 2020

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:

  • pysam -> python[version='2.7.|3.5.|3.6.|>=2.7,<2.8.0a0|>=3.6,<3.7.0a0|>=3.7,<3.8.0a0|>=3.5,<3.6.0a0|3.4.|<3.0.0']

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

sjfleck commented Aug 18, 2020

this issue was solved by wallacelab
#98 (comment)

@sjfleck sjfleck closed this as completed Aug 18, 2020
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

1 participant