I installed Pysam a few days ago, but I couldn't open any sam files
using it.
I can "import pysam"...no error message
When I write
f = pysam.Samfile("ex3.sam", "r")
I get the following error message:
Exception AttributeError: "StderrStore instance has no attribute
'stderr_save'" in <bound method StderrStore.__del__ of
<csamtools.StderrStore instance at 0x12d1638>> ignored
Traceback (most recent call last):
File "<pyshell#1>", line 1, in <module>
f = pysam.Samfile("ex3.sam", "r")
File "csamtools.pyx", line 258, in csamtools.Samfile.__cinit__
(pysam/csamtools.c:2674)
File "csamtools.pyx", line 362, in csamtools.Samfile._open (pysam/
csamtools.c:3757)
File "csamtools.pyx", line 167, in csamtools.StderrStore.__init__
(pysam/csamtools.c:2400)
AttributeError: 'PseudoFile' object has no attribute 'fileno'
Can anyone tell me what is my problem? And how to fix this problem?
Thanks a lot!
ML
using it.
I can "import pysam"...no error message
When I write
f = pysam.Samfile("ex3.sam", "r")
I get the following error message:
Exception AttributeError: "StderrStore instance has no attribute
'stderr_save'" in <bound method StderrStore.__del__ of
<csamtools.StderrStore instance at 0x12d1638>> ignored
Traceback (most recent call last):
File "<pyshell#1>", line 1, in <module>
f = pysam.Samfile("ex3.sam", "r")
File "csamtools.pyx", line 258, in csamtools.Samfile.__cinit__
(pysam/csamtools.c:2674)
File "csamtools.pyx", line 362, in csamtools.Samfile._open (pysam/
csamtools.c:3757)
File "csamtools.pyx", line 167, in csamtools.StderrStore.__init__
(pysam/csamtools.c:2400)
AttributeError: 'PseudoFile' object has no attribute 'fileno'
Can anyone tell me what is my problem? And how to fix this problem?
Thanks a lot!
ML
Comment