dib-lab / dib_rotation

Metagenomics DIB-lab rotation project
https://dib-lab.github.io/dib_rotation/
BSD 3-Clause "New" or "Revised" License
3 stars 8 forks source link

06_Quality_Control-Python Version Issue #42

Closed ccbaumler closed 2 years ago

ccbaumler commented 2 years ago

I can not install the khmer software in the dib_rotation environment because of the following error.

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

  • khmer -> python[version='2.7.|3.5.|3.6.|>=3.6,<3.7.0a0|>=3.8,<3.9.0a0|>=3.7,<3.8.0a0|>=3.5,<3.6.0a0|>=2.7,<2.8.0a0|3.4.'] Your python: python=3.10

The solution provided by Taylor Reiter that worked for me was to create a separate khmer env:

what i would do is create a new env just for the khmer step conda deactivate dib_rotation conda create -n khmer khmer conda activate khmer and then run the khmer commands in that env, then switch back to dib_rotation env when that step is done

Cheers, Colton