如何使用python3.5安装cutadapt? [Windows子系统]

时间:2019-11-29 18:35:02

标签: python python-3.x pip windows-subsystem-for-linux

尝试在Linux的Windows子系统中安装cutadapt时遇到了一些麻烦。这是我的控制台:

sb@OBSIDIAN:~$ sudo python3.5 -m pip install cutadapt
[sudo] password for sb:
Downloading/unpacking cutadapt
  Downloading cutadapt-2.7.tar.gz (272kB): 272kB downloaded
  Running setup.py (path:/tmp/pip_build_root/cutadapt/setup.py) egg_info for package cutadapt

    Usage:
      /usr/bin/python3.5 -m pip <command> [options]

    no such option: --disable-pip-version-check
    Traceback (most recent call last):
      File "/usr/local/lib/python3.5/dist-packages/setuptools/installer.py", line 119, in fetch_build_egg
        subprocess.check_call(cmd)
      File "/usr/lib/python3.5/subprocess.py", line 581, in check_call
        raise CalledProcessError(retcode, cmd)
    subprocess.CalledProcessError: Command '['/usr/bin/python3.5', '-m', 'pip', '--disable-pip-version-check', 'wheel', '--no-deps', '-w', '/tmp/tmprg2yka4e', '--quiet', 'setuptools_scm']' returned non-zero exit status 2

输出要长得多,其余的可以在这里找到:https://www.pastiebin.com/5de163ecdebef

但是python3.5和/或pip似乎有问题,我必须指定它,因为cutadapt需要3.5

0 个答案:

没有答案