安装python软件包时的编译器库问题

时间:2020-07-23 12:40:43

标签: python-2.7

您好,我正在开发一个有关微生物环境中生物分类识别的项目。 我需要将某些数据转换为其他格式,然后找到了可以完成此工作的程序。

我正在尝试将其安装在我的计算机上,但始终会失败。

我尝试通过pip并直接从源代码进行安装,同样的问题。 在论坛上阅读时,我认为该问题与我的编译器库有关,但我不知道下一步必须解决该问题。

我正在使用macOS 10.15.6 Python版本2.7(强制性软件包不能在3.x上运行)

错误是:

ERROR: Command errored out with exit status 1:
   command: /System/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/_8/bvdjrj4x3tq4q6nrt_fbv0r40000gn/T/pip-install-yyaaul/micca/setup.py'"'"'; __file__='"'"'/private/var/folders/_8/bvdjrj4x3tq4q6nrt_fbv0r40000gn/T/pip-install-yyaaul/micca/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /private/var/folders/_8/bvdjrj4x3tq4q6nrt_fbv0r40000gn/T/pip-wheel-mNAr5R
       cwd: /private/var/folders/_8/bvdjrj4x3tq4q6nrt_fbv0r40000gn/T/pip-install-yyaaul/micca/
  Complete output (10 lines):
  Building VSEARCH...
  clang: warning: include path for libstdc++ headers not found; pass '-stdlib=libc++' on the command line to use the libc++ standard library instead [-Wstdlibcxx-not-found]
  In file included from abundance.cc:61:
  ./vsearch.h:70:10: fatal error: 'string' file not found
  #include <string>
           ^~~~~~~~
  1 error generated.
  make[2]: *** [abundance.o] Error 1
  make[1]: *** [all-recursive] Error 1
  make: *** [all] Error 2
  ----------------------------------------
  ERROR: Failed building wheel for micca

你能帮我吗?提前致谢 FG

0 个答案:

没有答案