Closed abalter closed 7 years ago
Problem also with htslib
:
(pysambcf) balter3:~$ conda update bcftools
Fetching package metadata .................
Solving package specifications: .
Package plan for installation in environment /home/Applications/conda/envs/pysambcf:
The following packages will be UPDATED:
bcftools: 1.3.1-1 bioconda --> 1.4-0 bioconda
The following packages will be DOWNGRADED due to dependency conflicts:
pysam: 0.10.0-py35_3 bioconda --> 0.10.0-py35_2 bioconda
Proceed ([y]/n)?
(pysambcf) balter3:~$
(pysambcf) balter3:~$ python -c "import pysam"
(pysambcf) balter3:~$ conda update htslib
Fetching package metadata .................
Solving package specifications: .
Package plan for installation in environment /home/Applications/conda/envs/pysambcf:
The following packages will be UPDATED:
htslib: 1.3.2-0 bioconda --> 1.4-0 bioconda
Proceed ([y]/n)? y
(pysambcf) balter3:~$ python -c "import pysam"
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/home/Applications/conda/envs/pysambcf/lib/python3.5/site-packages/pysam/__init__.py", line 5, in <module>
from pysam.libchtslib import *
ImportError: libhts.so.1: cannot open shared object file: No such file or directory
This is a known issue. The latest HTSLib is not compatible with the pysam version we have. The recipe has been updated, but there is an old package that is incompatible.
You should downgrade HTSLib and get the pysam 0.10.0-py35_3 package until the new pysam (for the latest HTSLib 1.4) version is available.
Thanks, I will close this as related to #413