pysam and samtools
0
0
Entering edit mode
8.0 years ago
se69farahi • 0

I have installed pysam and samtools in my linux and use visual studio code for debug my python code. but I can not import pysam in visual studio, what is the problem ?

next-gen alignment • 2.9k views
ADD COMMENT
1
Entering edit mode

You mean you get an error? Could you be more informative?

ADD REPLY
0
Entering edit mode

yes I get error, It says module name pysam does not found.

ADD REPLY
0
Entering edit mode

If you have linux then you can simply call python from terminal and import pysam in it as follows,

python
>>> import pysam
ADD REPLY
0
Entering edit mode

Indeed, if you could confirm if pysam works in your "normal" python interpreter, then we can look at "visual studio" afterwards. I've never used that, but okay we'll manage.

ADD REPLY
0
Entering edit mode

yes,my terminal is work but I could not run it in my visual studio code.

ADD REPLY
0
Entering edit mode

How did you install it in visual studio? I find here that there is a specific way for visual studio.

ADD REPLY

Login before adding your answer.

Traffic: 1696 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6