学习pyecharts--MacOS下安装phantomjs

因为想渲染出除了.html之外的其他格式的文件。
要先安装phantomjs

简单记录一下步骤。首先确认安装了homebrew

先打开终端,输入
brew update && brew install phantomjs

然后报错:

Error: No available formula with the name "phantomjs" 

但是下面有提示解决办法

You can access it again by running:
  brew tap homebrew/cask
And then you can install it by running:
  brew cask install phantomjs

安装解决办法来就行了,先

brew tap homebrew/cask

最后

brew cask install phantomjs

成功,马上render了一张pdf,美滋滋。

评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值