我試圖安裝bigfloat
,我收到這個消息,似乎表明我需要首先使用mpfr
庫。我該怎麼做呢?
消息:如何在pythonanywhere上安裝GNU MPFR庫
running build_ext building 'mpfr' extension creating 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: fatal error: mpfr.h: No such file or directory #include "mpfr.h"^compilation terminated. error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
我很新的蟒蛇和pythonanywhere,所以我不知道如何安裝庫。
我試圖找到如何使用谷歌安裝一個圖書館,我試圖用:
pip install --user mpfr
但我收到此錯誤信息:
Collecting mpfr Could not find a version that satisfies the requirement mpfr (from versions:) No matching distribution found for mpfr
什麼是錯誤信息?你有什麼嘗試? – SherylHohman
消息:運行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,所以我不知道如何安裝庫。 – vexgr1999
我試圖鰭如何安裝使用谷歌圖書館,我試圖使用:pip安裝 - 用戶mpfr但我收到此錯誤消息: 收集mpfr 找不到滿足要求的版本mpfr(從版本: ) 找不到與mpfr匹配的分配 – vexgr1999