【问题标题】:Fail to build atom/electron on Windows 7无法在 Windows 7 上构建原子/电子
【发布时间】:2016-03-23 10:22:38
【问题描述】:

尝试build atom/electron on Windows 7,但失败了。

操作系统环境:

  • Windows 7
  • VS 2013 更新 5
  • Python 2.7
  • Node.js 4.2.3
  • Git 2.6.4
  • 原子/电子 - 最新拉动 (2015.12.17)

运行引导脚本“$ python bootstrap.py -v”失败,截图在这里:

试图找到解决办法,任何帮助将不胜感激。

--院长

【问题讨论】:

    标签: python node.js electron


    【解决方案1】:

    找到了方法...:

    情况失败一:“无法打开文件”

    根据官方文档:Build Instructions (Windows)

    $ python script\bootstrap.py -v
    

    结果将是:

    D:\Program Files\Python27\python.exe: can't open file 'scriptbootstrap.py': [Errno 2] No such file or directory
    

    情况失败二:“WindowsError: [Error 3]....”

    注意这一点:

    $ cd script
    $ python bootstrap.py -v
    

    我 cd 进入脚本文件夹,并运行引导脚本,但失败了。

    情况OK:使用“/”代替“\”

    请看下面的截图:

    欢迎解释...

    --院长

    【讨论】:

      猜你喜欢
      • 2013-08-05
      • 2022-11-01
      • 2011-09-16
      • 2023-02-05
      • 2011-12-11
      • 2017-12-27
      • 1970-01-01
      • 2021-01-23
      • 2015-04-05
      相关资源
      最近更新 更多