无法将Guppy安装到我的项目中

时间:2018-04-19 14:59:01

标签: python pip guppy

我目前面临一个奇怪的问题,即我无法使用以下命令成功将guppy软件包安装到我的项目中:

pip install guppy

控制台最终得到:

  

clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I / usr / local / Cellar / python3 / 3.6 .0 / Frameworks / Python.framework / Versions / 3.6 / include / python3.6m -c src / sets / sets.c -o build / temp.macosx-10.12-x86_64-3.6 / src / sets / sets.o   src / sets / sets.c:77:1:错误:函数声明符后的预期函数体   INITFUNC(无效)        ^   src / sets / sets.c:39:18:注意:从宏开始扩展' INITFUNC'   #define INITFUNC initsetsc                      ^   生成1个错误。   错误:命令' clang'退出状态1失败

     

Command&#34; /Users/unifiedloaner/.virtualenvs/communique/bin/python3.6 -u -c&#34; import setuptools,tokenize; file =&#39; / private / var / folders / kb / ynmw5jys2_ddb7_1qy8x6l7r0000gr / T / pip-install-r90baffb / guppy / setup.py&#39 ;; f = getattr(tokenize,&#39; open&#39;,open)( file < /strong>);code=f.read().replace('\r\n' ;,&#39; \ n&#39;); f.close(); exec(编译(代码, 档案,&#39; exec&#39;))&#34; install --record /private/var/folders/kb/ynmw5jys2_ddb7_1qy8x6l7r0000gr/T/pip-record-mbb2utye/install-record.txt --single-version-external-managed --compile --install-headers / Users / unifiedloaner / .virtualenvs /公报/ bin中/../包括/站点/ python3.6 /孔雀&#34;在/ private / var / folders / kb / ynmw5jys2_ddb7_1qy8x6l7r0000gr / T / pip-install-r90baffb / guppy /

中出现错误代码1失败

我在我的virtualenv communique中使用pip 10.0.0和Python 3.6

0 个答案:

没有答案