1. 程式人生 > >error: library dfftpack has Fortran sources but no Fortran compiler found解決方法

error: library dfftpack has Fortran sources but no Fortran compiler found解決方法

用pip install scipy 時提示 error: library dfftpack has Fortran sources but no Fortran compiler found
解決方法很簡單!
sudo apt-get install gfortran 搞定。
如果安裝的時候提示Permission denied
記得一定要在安裝命令之前有sudo哦。

相關推薦

error: library dfftpack has Fortran sources but no Fortran compiler found解決方法

用pip install scipy 時提示 error: library dfftpack has Fortran sources but no Fortran compiler found 解決方法很簡單! sudo apt-get install gfortran 搞定。 如果安裝的時候提示Permis

NO ULINK Device found解決方法

原文地址:https://www.cnblogs.com/limj1987/p/8334728.html 遇到了“NO ULINK Device found”這個問題,試了很多方法,按照網友說的把debug->use改成cortex-M/R J-LINK/J-Trace,並且在settin

Python安裝第三方庫,出現‘PyThreadState’ has no member named ‘exc_type’解決方法

最近由於工作需要,要從hbase中讀取資料,然後處理過後,展示給使用者,在網上搜通過Python的happybase模組可以進行簡單快捷的讀取,但是在安裝happybase,讓我非常不開心,具體錯誤如下: Collecting happybase Using

關於Python中使用pymysql驅動連線資料庫時報"XXX" object has no attribute ‘translate’的解決方法

    最近在使用flask開發時,用了pymysql驅動來連線資料庫,但是在使用列舉型別作為資料庫條件來對資料庫進行查詢資料時(如下圖):        報出了以下錯誤:    原因:     資料庫中使用的pending的型別為int型,而圖中的PendingStatus

關於ESXI/ESX 4.1 U1 在伺服器安裝出現 NUMA node 1 has no memory等錯誤解決方法

          近日,單位新購置了HP DL980系列伺服器,用以部署虛擬化軟體ESXI4.1 U1版本。但在光碟安裝的過程中,出現ESXI出錯的紫屏資訊如下:The system has found a problem on your machine and canno

Error -27791: Server "" has shut down the connection prematurely的一個解決辦法

測試中,併發200,300,400人時,LR沒報錯,在併發500人時,LR報錯”Error -27791: Server "172.16.xx.xxx" has shut down the connection prematurely“,同時檢視WEB伺服器日誌:出現這樣一

AttributeError: module 'pip' has no attribute 'main'問題解決方法

通過pycharm建立Django專案是出現如下錯誤AttributeError: module 'pip' has no attribute 'main'環境資訊:pycharm2017.3.1(Professional Edition)、python3.6.5 (64位)

PHP錯誤Parse error: syntax error, unexpected end of file in test.php on line 12解決方法

空格 短標簽 後來 成了 出現 提示 分享 也會 出錯 今天在寫PHP程序的時候總是出現這樣的錯誤:Parse error: syntax error, unexpected end of file in *.php on line *,然後我就根據提示,找到那個文件,然後

Ubuntu下apt-get出現“no public key available…”解決方法

no public key available…解決方法如果出現W: There is no public key available for the following key IDs:3B4FE6ACC0B21F32可使用命令apt-key adv --recv-keys --keyserver keys

java.net.NoRouteToHostException: No route to host解決方法

config 服務器 tomcat服務器 防火墻 永久 cep http 狀態 off 當訪問192.168.10.98上的tomcat時候,tomcat日誌異常 然後查看tomcat服務器上的防火墻 查看service層的防火墻: 至此問題解決: 永久關

error: C++ preprocessor "/lib/cpp" fails sanity check錯誤解決方法

ubunt essential header apt yum 運行命令 process all sso error: C++ preprocessor "/lib/cpp" fails sanity check 問題的解決 問題的根源是缺少必要的C++庫。如果是CentO

Windows下執行python指令碼報錯“ImportError: No Module named ...”的解決方法

之前遇到一個問題,在Pycharm或IPython之類的IDE上執行指令碼正常,但是直接執行或cmd命令列執行的時候報了模組未能找到的 誤——ImportError: No Module named ...。 這是啥情況? Python在啟動直譯器(Interpreter)的時候

Linux(centos 7) 安裝Nginx 以及報錯 yum install zlib Error: Multilib version problems found. 解決方法

今天安裝 Nginx出現如下報錯: yum install zlib Loaded plugins: fastestmirror, langpacks Loading mirror speeds from cached hostfile Resolving Dependencies -->

Android進階(二)https請求No peer certificate的解決方法.

分享一下我老師大神的人工智慧教程!零基礎,通俗易懂!http://blog.csdn.net/jiangjunshow 也歡迎大家轉載本篇文章。分享知識,造福人民,實現我們中華民族偉大復興!        

django views.py open("./xx") no such file found解決django views 檔案中open函式找不到檔案的問題

現象: 在views.py 中 用open 函式,open("./xxx")這種形式,採用相對路徑,開啟一個檔案,提示找不到檔案。 但是直接執行該py檔案就沒有問題 解決辦法: 用絕對路徑 pwd=os.path.dirname(__file__) open(pwd+"/xx

Warning[Pe301]: typedef name has already been declared (with same type)問題解決方法

最近遇到一個警告問題,一直解決不了,網上也查閱了很多文章,都沒有講述具體的解決方法。 今天除錯程式,偶然發現一個現象,基於這個現象,分析該警告的可能原因如下: 首先,我是新建了一個main.h檔案,裡面包含所有的需要的標頭檔案,但在其中的一個檔案裡,我定義了一個結構型別; te

python3.x中移除了cPickle模組;pycharm執行後出現no module named cv2解決方法;scikit-learn 0.18以及0.20版本中的cross_validati

1.python3.x中移除了cPickle模組,可以使用pickle模組代替。最終我們將會有一個透明高效的模組。 2、pycharm執行後出現no module named cv2解決方法 在win 7 上成功安裝OpenCV之後,發現在PowerShell上能成功使用OpenC

在nginx中遇到 [alert] kill(25903, 1) failed (3: No such process)錯誤解決方法

當nginx出現如下類似錯誤的時候,不要驚慌,首先看報錯日誌,為什麼報錯,再尋求解決辦法。 nginx: [alert] kill(25903, 1) failed (3: No such process) 通過在nginx/sbin,目錄下 執行命令 ./nginx ,

Python27 No module named PIL解決方法

       PIL:Python Imaging Library,已經是Python平臺事實上的影象處理標準庫了。        然而,我們在做影象處理的時候,會報&nb

MySQL is running but PID file could not be found(解決方法)

啟動MySQL時報錯: [[email protected] /]# service mysqld status MySQL is running but PID file could not be found    [失敗]   解決辦法: 找到並kill掉