python3 import execjs ModuleNotFoundError: No module named ‘execjs‘

  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.csdn.net/lanluyug/article/details/84031474

 

 

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 2
    评论
评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值