Hello.
I need a way to work with BAM files and as I am somewhat familiar with Python (2.7) I wanted to use the module pysam. However, it has proven rather troublesome to install on my pc (Windows 8, 64 bit).
When I first tried to install it, I got an error about not having Microsof Visual C++; I subsequently downloaded visual c++ compiler. Now when I try to install it (no matter how, whether with pip, easy_install, or whatever) I still get an error:
cl : Command line error D8021 : invalid numeric argument '/Wno-error=declaration
-after-statement'
error: command 'C:\\Users\\Mark\\AppData\\Local\\Programs\\Common\\Microsoft\\Vi
sual C++ for Python\\9.0\\VC\\Bin\\cl.exe' failed with exit status 2
I've tried several suggestions from stackoverflow; insalling 32-bit python instead of 64 (which supposedly caused some problems for others); I tried using an older version of pip when I thought pip might not be working (there was an issue with newer versions having some SSN issue when trying to install packages). Still no solution.
So if anyone can give me a detailed explanation for how to effectively install pysam I would much appreciate it.
Alternatively, if there's an easier way to work with BAM files, any suggestions are welcome. I recently installed cygwin on my pc for other purposes but perhaps I could use SAMtools via cygwin. Any suggestions appreciated though, thanks.
I need a way to work with BAM files and as I am somewhat familiar with Python (2.7) I wanted to use the module pysam. However, it has proven rather troublesome to install on my pc (Windows 8, 64 bit).
When I first tried to install it, I got an error about not having Microsof Visual C++; I subsequently downloaded visual c++ compiler. Now when I try to install it (no matter how, whether with pip, easy_install, or whatever) I still get an error:
cl : Command line error D8021 : invalid numeric argument '/Wno-error=declaration
-after-statement'
error: command 'C:\\Users\\Mark\\AppData\\Local\\Programs\\Common\\Microsoft\\Vi
sual C++ for Python\\9.0\\VC\\Bin\\cl.exe' failed with exit status 2
I've tried several suggestions from stackoverflow; insalling 32-bit python instead of 64 (which supposedly caused some problems for others); I tried using an older version of pip when I thought pip might not be working (there was an issue with newer versions having some SSN issue when trying to install packages). Still no solution.
So if anyone can give me a detailed explanation for how to effectively install pysam I would much appreciate it.
Alternatively, if there's an easier way to work with BAM files, any suggestions are welcome. I recently installed cygwin on my pc for other purposes but perhaps I could use SAMtools via cygwin. Any suggestions appreciated though, thanks.
Comment