python - 无法构建 LibAdblockPlus
问题描述
我使用的是 Windows 10 x64 操作系统,我从以下链接下载了 libadblockplus 的主分支:<a href="https://github.com/adblockplus/libadblockplus" rel="nofollow noreferrer">https://github. com/adblockplus/libadblockplus
我已经构建了 V8(Libadblockplus 所需的来自 google 的 javascript 库)。我搭建的V8的头文件和二进制文件的路径分别如下:
C:\V-eight\v8\include
和
C:\V-eight\v8\out.gn\x64.release\obj
我已经在环境变量中设置了我的路径,这样如果我在命令中执行“where python”,例如 C:>where python,那么我会得到以下响应:
C:\V-eight\depot_tools\python.bat
我已将环境变量“GYP_DEFINES”设置如下: GYP_DEFINES=C:\V-eight\v8
我从以下路径运行 createsolution.bat:C:\V-eight\libadblockplus>createsolution.bat
我收到以下错误:
文件“C:\V-eight\depot_tools\win_tools-2_7_6_bin\python\bin\lib\subprocess.py”,第 957 行,在 _execute_child startupinfo) WindowsError: [错误 2] 系统找不到指定的文件
解决方案
推荐阅读
- xcode - 与 Xcode 9.2 相比,Xcode 10 列出了更多方案
- angular - 被效果捕获的 Angular 6 ngrx 存储动作仍然落入减速器
- unit-testing - 在不运行 @SpringBootApplication 的情况下测试 Spring Boot 服务
- python - 在圆内寻找轮廓
- php - Laravel 5 - 如何使用 $this->app->when()
- sqlplus - 我需要确保我的编码正确地解决了这些问题
- oracle - 如何从 plsql 上的文件中获取创建日期
- xamarin - Xamarin MSAL NuGet 错误 - 检测到 Xamarin.Android.Support.Compat 的版本冲突
- c++ - 寻找闰年的逻辑如何运作?
- hibernate - getSingleResult() 导致 NoResultException 回滚