我正在尝试在python3.4上安装pysam和pybedtools模块。但是我得到了一个错误:
Collecting pysam
Using cached pysam-0.9.0.tar.gz
Complete output from command python setup.py egg_info:
'.' is not recognized as an internal or external command,
operable program or batch file.
# pysam: htslib mode is shared
# pysam: htslib configure options: None
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "C:\Users\ikirov.CLO\AppData\Local\Temp\pip-build-_me_xeme\pysam\setup.py", line 212, in <module>
sys.abiflags)]
AttributeError: 'module' object has no attribute 'abiflags'你能帮我搬一下吗?
发布于 2017-07-08 15:53:26
嗨,我在去年的一次课上遇到了同样的错误。
据我当时所知,pysam根本不能在python3 + windows环境下工作。看看这个:https://github.com/pysam-developers/pysam/issues/353看起来现在还没有解决。
对于我的家庭作业,我只是使用了这个http://bow.codeplex.com/
我的建议是,试着用linux或者买个python2。是的,我知道科学领域对于2->3的转变来说是最慢的。真没意思。
https://stackoverflow.com/questions/36790739
复制相似问题