import execjs
ModuleNotFoundError: No module named 'execjs'
解决办法
>pip install PyExecJS
Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple
Collecting PyExecJS
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/ba/8e/aedef81641c8dca6f
d0fb7294de5bed9c45f3397d67fddf755c1042c2642/PyExecJS-1.5.1.tar.gz
Requirement already satisfied: six>=1.10.0 in c:\programdata\anaconda3\lib\site-
packages (from PyExecJS) (1.13.0)
Building wheels for collected packages: PyExecJS
Building wheel for PyExecJS (setup.py) ... done
Created wheel for PyExecJS: filename=PyExecJS-1.5.1-cp37-none-any.whl size=145
95 sha256=e498f459760a5b53f8586738e375cb62e43722ae65bc9184e5e9b9c14a1f7b95
Stored in directory: C:\Users\pc\AppData\Local\pip\Cache\wheels\be\db\78\797b5
4c35b3c1d2e5c951d4cc63088d49df26a2e5c14cba575
Successfully built PyExecJS
Installing collected packages: PyExecJS
Successfully installed PyExecJS-1.5.1
参考https://blog.youkuaiyun.com/lanluyug/article/details/84031474
本文详细介绍了在遇到Python中'execjs'模块缺失错误时的解决方案,通过使用pip安装PyExecJS来修复该问题,并附带了完整的安装过程记录。
3万+

被折叠的 条评论
为什么被折叠?



