1. 程式人生 > >解決Pandoc wasn't found.pdflatex not found on PATH

解決Pandoc wasn't found.pdflatex not found on PATH

解決nbconvert failed: Pandoc wasn’t found.解決nbconvert failed: pdflatex not found on PATH

問題1描述

500 : Internal Server Error
nbconvert failed: Pandoc wasn’t found.
Please check that pandoc is installed:

<img src='./../imgs/Pythontopdf/問題1.png' style='width: 50%'/>

問題2描述

500 : Internal Server Error
nbconvert failed: pdflatex not found on PATH
http://pandoc.org/installing.html

<img src='./../imgs/Pythontopdf/問題2.png' style='width: 50%'/>

解決辦法:

1. 安裝pandoc

其他可用CSDN資源下載地址
直接點選安裝,預設安裝即可,可選擇安裝位置。
然後配置環境變數,把安裝路徑配置到系統path中。如我的是將E:\IDE\Pandoc放置path中。

直接點選安裝,預設安裝即可,可選擇安裝位置。
(如果程式沒有自動配置環境變數)需要手動配置環境變數,把安裝路徑配置到系統path中。如我的是將E:\IDE\MiKTeX 2.9\miktex\bin\x64放置path中。

<img src='./../imgs/Pythontopdf/path.png' style='width: 50%'/>

3. 安裝各種巨集包

選擇轉換PDF

<img src='./../imgs/Pythontopdf/轉換.png' style='width: 50%'/>

自動提示安裝各種巨集包 直接點選安裝即可(安裝數次,直到安裝完畢。。。)

<img src='./../imgs/Pythontopdf/安裝plt.png' style='width: 50%'/>

<img src='./../imgs/Pythontopdf/安裝plt1.png' style='width: 50%'/>

可選擇去掉勾選,每次安裝不需要彈窗,自動安裝,會快很多,也省事。

<img src='./../imgs/Pythontopdf/安裝plt2.png' style='width: 50%'/>

完成,此時可以成功轉換英文內容,包括圖片、程式碼高亮等等。

<img src='./../imgs/Pythontopdf/轉換成功.png' style='width: 50%'/>

注意!,但是如果遇到包含中文內容會報錯,就是無法轉換中文。

相關推薦

解決Pandoc wasn't found.pdflatex not found on PATH

解決nbconvert failed: Pandoc wasn’t found.解決nbconvert failed: pdflatex not found on PATH 問題1描述 500 : Internal Server Error nbcon

解決nbconvert failed: Pandoc wasnt found. Please check that pandoc is installed:

當你想要將你的Jupyte Notebook轉換成PDF時,會出現這樣的問題: 解決方案: 1 下載pandoc庫並安裝,下載地址:http://pandoc.org/installing.html#windows ps:國內的沒有翻牆的朋友可能無法下載或者下

解決: -bash: docker-compose: command not found、linux 安裝 docker-compose

1. 執行docker-compose 命令報錯: -bash: docker-compose: command not found 2.安裝: 1)先安裝 pip ,檢查是否已有: pip -V  報錯: -bash: pip: command not

解決網頁出現 net::ERR_ABORTED 404 (Not Found)問題

1、在web.config配置檔案中新增woff字型的MIME型別 在Web.config中的system.webServer節點新增 <staticContent> <remove fileExtension=".woff" /> <mimeMap fileExte

解決 Xcode10 編譯錯誤 ld: library not found for -lstdc++

升級完 Xcode10 之後,開啟老的工程,編譯提示錯誤: ld: library not found for -lstdc++6.0.9 這是因為蘋果在 Xcode10 中移除了 libstdc++ 這個庫,由 libc++ 這個庫取而代之。如果是自己工程裡引用了 libstdc++ 庫,在 Lin

解決 'boost/iterator/iterator_adaptor.hpp' file not found’ 及控制檯":CFBundleIdentifier", Does Not Exist

"react-native": "0.46.1" 這個問題產生原因: * /Users/Vanessa/.rncache 中 boost_1_63_0.tar.gz, double-conversion-1.1.5.tar.gz, folly-2016.09.26.00.tar.gz, glog-0.

cygwin下載、安裝教程和解決CDT出現“program 'make' is not found in path”bug

在Eclipse的CDT平臺編寫自己的C程式碼時,出現bug“Program "make" is not found in the PATH”,解決問題的時候,給出的答案是沒有安裝cygwin。cygwin是一款跨平臺的編譯器,Cygwin的主要目的是通過重新編譯,將PO

Phonegap解決錯誤:Error initializing Cordova:Class not found

Phonegap  解決錯誤:   Alert  [ERROR]Error initializing Cordova:Class not found 發現bug後找原因   網上說是  因為找不

關於linux裝載器(如何解決應用程式跑不起來not found等問題)

關於linux動態連結共享庫(如何解決應用程式跑不起來not found等問題) 所謂linux中的Share Libraries和Dynamic linking扮演的角色類似Windows 中的dll檔案一樣。現在的OS作業系統中,大部分的程式都是動態連結的,就是說,很

解決方法】ld: warning: directory not found for option

IOS開發過程中這個問題很容易搞的很迷糊。今天來掰扯掰扯。 問題及解決方法 簡單來說,這個問題分兩個方面。 錯誤如下,這表示是查詢 Library 的時候出現的異常。 "directory not found for option '-L/

6種解決laravel報錯 Session store not set on request

回答1: 如果您需要會話狀態,CSRF保護等,則需要使用Web中介軟體。 Route::group(['middleware' => ['web']], function () { // your routes here });   回答2: 如果新增你的

MySQL執行錯誤解決:Can't connect to MySQL server on localhost (10061)解決方法

問題描述: 在命令列輸入 mysql -u root -p 登入mysql,返回”Can’t connect to MySQL server on localhost (10061)”錯誤。 解決方法: 1、將mysql加入到Windows的服務中。切換到my

出現報錯java.lang.ClassNotFoundException: Didn't find class "okio.Buffer" on path: DexPathList

這種情況你要注意,不可以匯入本地庫,需要遠端庫,先檢查是否有本地庫,如果有,去除依賴,然後再加入遠端依賴 報錯資訊............................  Process: im.com.work.workapp, PID: 27022        

項目報錯:Caused by: java.lang.ClassNotFoundException: Didn't find class "..."on path: DexPathList

cto itl not 文件 pro ora log amp 類名 項目報錯: Caused by: java.lang.ClassNotFoundException: Didn‘t find class "com.eshore.njb.MyApplicatio

系統重灌An operating system wasn't found.Try .....問題解決方案

“An operating system wasn’t found.Try disconnecting any drives that don’t ……press Ctrl+Alt+Del to restart”什麼作業系統找不到,讓你Ctrl+Alt+D

Module not found: Error: Can’t resolve ‘popper.js’ ….錯誤解決辦法

引入bootstrap後,webpack打包報錯Module not found: Error: Can't resolve 'popper.js' .... 這是因為使用webpack打包bootstrap4的時候,需要手動安裝popper.jsnpm install [e

ERROR: resetting DM9000 -&gt; not responding dm9000 not found at 0x88000000問題解決

id號 each erro 網卡 網卡通信 12.1 otg esp [0 ERROR: resetting DM9000 -> not responding dm9000 not fo

Mac下安裝第三方模塊報錯:‘sqlfront.h‘ file not found解決辦法

for found ins 解決辦法 第三方模塊 mssql erro ref div 1.軟件環境:     mac環境:10.11.6(15G31)     python: 3.6 2.問題:     sudo pip install pymssql 後出現下面問題:

【轉】bash: ssh: command not found解決方法(linux)

inux 配置 pan html clas client oop post bash 原文轉自:http://www.cnblogs.com/ahauzyy/archive/2013/04/25/3043699.html 今天在搭建hadoop的開發環境中,用的是ce

解決Centos 7不能聯網且輸入ifconfig出現command not found

centos 7 無法聯網 無法獲得ip地址 在VMware Workstation中,以最小化方式安裝Centos 7後,發現無法獲得IP地址進行上網,這是因為Centos 7默認網卡未被激活。此外,在sbin目錄中沒有ifconfig文件,這是因為Centos 7已經不使用ifconfig命令