简体   繁体   English

没有名为“json2html”的模块

[英]No module named 'json2html'

在此处输入图片说明

I checked my PATH, made sure the json2html is in the path and that it's installed.我检查了我的 PATH,确保json2html在路径中并且它已经安装。 Yet, I can't get it to load.但是,我无法加载它。

在此处输入图片说明

I searched for where openpyxl is, since it worked without error.我搜索了 openpyxl 在哪里,因为它没有错误地工作。 I found it here:我在这里找到了:

  • F:\\Users\\John\\anaconda3\\Lib\\site-packages F:\\Users\\John\\anaconda3\\Lib\\site-packages

So then I did this:然后我做了这个:

pip3 install --target=F:\Users\John\anaconda3\Lib\site-packages json2html

And it worked!它奏效了!

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM