Failed at the camaro@3.0.15 install script

问题: First what I want to do: I have a XML file and want to get a specific value from it. The XML file could be <note> <to>Tove</to> <from>Ja...

问题:

First what I want to do:

I have a XML file and want to get a specific value from it. The XML file could be

<note>
    <to>Tove</to>
    <from>Jani</from>
    <heading>Reminder</heading>
    <aValue>
        <subject>This is the value I am looking for</subject>
    </aValue>
    <body>Don't forget me this weekend!</body>
</note>

and I want to read the value from "subject". I could take a XML to JavaScript converter but then I would have to start a recursive search for the target attribute.

I was hoping https://www.npmjs.com/package/camaro would do the trick but I am not able to install it.

I get this error

https://pastebin.com/kZaNPgya

and this is my log file

https://pastebin.com/LmZwstFf

I tried to install it on multiple machines but they all fail when it comes to the npm installation.

How can I fix it?


回答1:

As the log say

Error: Can't find Python executable "python", you can set the PYTHON env variable.

You need to install python on your machine or set the PYTHON env

  • 发表于 2019-02-25 23:35
  • 阅读 ( 216 )
  • 分类:sof

条评论

请先 登录 后评论
不写代码的码农
小编

篇文章

作家榜 »

  1. 小编 文章
返回顶部
部分文章转自于网络,若有侵权请联系我们删除