Closed ayushm64 closed 4 months ago
I have the same issue. The pysam version installed:
pysam 0.21.0 py36h50b03f4_0 bioconda
What version of python
is being run? Probably this is #1202, which is a bioconda issue.
Yes I was using python 3.11. I switched to python 3.10 in the environment and the issue seems to be resolved. Thank you!
I am running a snakemake workflow from this github repo the workflow runs in two conda environments. One of the two environments requires pysam as a dependency, but when I ran the workflow I received a ModuleNotFoundError for pysam and when I ran conda list within the environment I saw that pysam was not installed. After manually activating the conda environment and installing pysam 0.20.0 (the version the repo was tested with), I ran the workflow again and I still receive the same error. This is despite verifying that pysam is now in the environment using conda list while the environment is activated. Here is the terminal output when I manually activate the environment and explicitly execute the problematic script:
What could be the cause of this? Please let me know if I need to provide any additional information. Thank you!