在Windows

时间:2016-04-22 10:00:47

标签: python pysam

我正在尝试在python 3.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'

你可以帮帮我吗?

1 个答案:

答案 0 :(得分:0)

嗨我去年上课期间遇到了同样的错误。

据我所知,pysam根本无法使用python3 + windows环境。 看到这个:https://github.com/pysam-developers/pysam/issues/353看起来现在还没有解决。

对于我的作业,我刚使用了这个http://bow.codeplex.com/

我的建议,只是尝试使用linux或获取python2。是的我知道科学领域是2&gt; 3过渡的最慢。太糟糕了。