在 Windows 7 上构建 atom/electron 失败
Fail to build atom/electron on Windows 7
尝试build atom/electron on Windows7,但失败了。
OS环境:
- Windows 7
- VS 2013 更新 5
- Python 2.7
- Node.js 4.2.3
- Git2.6.4
- atom/electron - 最新拉取 (2015.12.17)
运行 bootstrap 脚本“$ python bootstrap.py -v”时失败,截图在这里:
正在努力寻找解决之道,如有任何帮助,我们将不胜感激。
--院长
找到方法...:[=15=]
情况失败一:"can't open file"
根据官方文档: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 进入脚本文件夹,运行 bootstrap 脚本,但失败了。
情况正常:使用“/”代替“\”
见下方截图:
欢迎解释...
--院长
尝试build atom/electron on Windows7,但失败了。
OS环境:
- Windows 7
- VS 2013 更新 5
- Python 2.7
- Node.js 4.2.3
- Git2.6.4
- atom/electron - 最新拉取 (2015.12.17)
运行 bootstrap 脚本“$ python bootstrap.py -v”时失败,截图在这里:
正在努力寻找解决之道,如有任何帮助,我们将不胜感激。
--院长
找到方法...:[=15=]
情况失败一:"can't open file"
根据官方文档: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 进入脚本文件夹,运行 bootstrap 脚本,但失败了。
情况正常:使用“/”代替“\”
见下方截图:
欢迎解释...
--院长