我正在尝试安装bigfloat,我收到的消息似乎表明我mpfr首先需要该库.我该怎么做呢?
消息:
运行build_ext构建'mpfr'扩展创建build/temp.linux-x86_64-2.7 x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I /usr/include/python2.7 -c mpfr.c -o build/temp.linux-x86_64-2.7/mpfr.o mpfr.c:344:18:致命错误:mpfr.h:没有这样的文件或目录#include"mpfr.h"^编译终止.错误:命令'x86_64-linux-gnu-gcc'以退出状态1失败
我是python和pythonanywhere的新手,所以我不知道如何安装库.
我试图找到如何使用谷歌安装库,我试图使用:
pip install --user mpfr
Run Code Online (Sandbox Code Playgroud)
但我收到此错误消息:
收集mpfr无法找到满足要求的版本mpfr(来自版本:)没有为mpfr找到匹配的分发