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 ?
You mean you get an error? Could you be more informative?
yes I get error, It says module name pysam does not found.
If you have linux then you can simply call python from terminal and import pysam in it as follows,
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.
yes,my terminal is work but I could not run it in my visual studio code.
How did you install it in visual studio? I find here that there is a specific way for visual studio.