我无法在python3中安装基于star的版本

时间:2019-04-22 13:44:37

标签: django python-3.x stellar

我尝试按照此处https://github.com/StellarCN/py-stellar-base的指示安装Stellar-Base,但无法正常工作...我正在使用虚拟环境和python3。 这是错误

x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/home/sam/PycharmProjects/stellamomo/venv/include -I/usr/include/python3.6m -c src/_crc16module.c -o build/temp.linux-x86_64-3.6/src/_crc16module.o
    src/_crc16module.c:22:20: fatal error: Python.h: No such file or directory
    compilation terminated.
    error: command 'x86_64-linux-gnu-gcc' failed with exit status 1

    ----------------------------------------
Command "/home/sam/PycharmProjects/stellamomo/venv/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-onsbk3g_/crc16/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-record-r5kwjf1o/install-record.txt --single-version-externally-managed --compile --install-headers /home/sam/PycharmProjects/stellamomo/venv/include/site/python3.6/crc16" failed with error code 1 in /tmp/pip-install-onsbk3g_/crc16/

0 个答案:

没有答案