Dai*_*air 15 python python-3.x
我正在尝试安装孔雀鱼.我的程序使用python3所以我必须使用pip3.当我跑:
pip3 install guppy
我明白了:
src/sets/sets.c:77:1: error: expected function body after function declarator
INITFUNC (void)
^
src/sets/sets.c:39:18: note: expanded from macro 'INITFUNC'
#define INITFUNC initsetsc
                 ^
1 error generated.
error: command 'clang' failed with exit status 1
我尝试过做这个,甚至thourgh这是不一样的,并远销gcc和g ++:
?  ~ export CC=gcc
?  ~ export CXX=g++
再跑一次:
src/sets/sets.c:77:1: error: expected function body after function declarator
INITFUNC (void)
^
src/sets/sets.c:39:18: note: expanded from macro 'INITFUNC'
#define INITFUNC initsetsc
                 ^
1 error generated.
error: command 'gcc' failed with exit status 1
大多数使用此问题的人sudo apt-get python-dev或类似的东西来解决这个问题,我找不到Mac的等价物.有没有办法解决这个问题?
| 归档时间: | 
 | 
| 查看次数: | 9304 次 | 
| 最近记录: |