This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Unable to install pysam on windows 7

I am trying to install pysam in windows by using pip install pysam but it is giving me error:

ERROR: Command errored out with exit status 1: 'D:\Anaconda3\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'D:\\pip-install-fs464k98\\pysam_bfe5414bb280457c86f7bcd0dab5bbdb\\setup.py'"'"'; __file__='"'"'D:\\pip-install-fs464k98\\pysam_bfe5414bb280457c86f7bcd0dab5bbdb\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record 'D:\pip-record-ssp4o4mi\install-record.txt' --single-version-externally-managed --compile --install-headers 'D:\Anaconda3\Include\pysam' Check the logs for full command output.

Also, I am trying through anaconda in windows but it's giving me error:

No channels found for pysam

Can anyone help me please?

python pysam

1 answer

Command line-based bioinformatics on Windows will just make things harder than necessary. Check WSL2, the Linux subsystem for Windows to make everything easier. There simply is no Windows version in conda for pysam.

enter image description here

Log in to answer this question.