pyinstaller exe缺少Newtonsoft.Json.dll

时间:2019-07-05 14:41:32

标签: python-3.x pyinstaller

我正在建立一个连接动态数据库xxx.dll的模型。使用jupyter笔记本和Spider可以正常工作。但是在我使用pyinstaller将其转换为exe之后。

我尝试了-add--binary Newtonsoft.Json.dll 尝试过hiddenimports=['clr']

import clr
import pandas as pd 

此错误弹出:

  

'System.IO.FileLoadException:无法加载文件或程序集'Newtonsoft.Json,V   ersion = 6.0.0.0,Culture = neutral,PublicKeyToken = 07b3c6dc14093ce0'或其中之一   依赖性。找到的程序集的清单定义与程序集引用不匹配

0 个答案:

没有答案
相关问题