我正在尝试在Windows 10上构建tensorflow v2.0.0-alpha0。我遵循this guide,我遵循了每个步骤。我正在使用此命令进行构建:
security:
encoders:
App\Entity\User:
algorithm: argon2i
cost: 12
# https://symfony.com/doc/current/security.html#where-do-users-come-from-user-providers
providers:
# used to reload user from session & other features (e.g. switch_user)
app_user_provider:
entity:
class: App\Entity\User
property: username
firewalls:
dev:
pattern: ^/(_(profiler|wdt)|css|images|js)/
security: false
main:
anonymous: ~
# activate different ways to authenticate
# http_basic: true
# https://symfony.com/doc/current/security.html#a-configuring-how-your-users-will-authenticate
# form_login: true
# https://symfony.com/doc/current/security/form_login_setup.html
# Easy way to control access for large sections of your site
# Note: Only the *first* access control that matches will be used
access_control:
# - { path: ^/admin, roles: ROLE_ADMIN }
# - { path: ^/profile, roles: ROLE_USER }
哪个给我这个错误:
bazel build --config=opt //tensorflow/tools/pip_package:build_pip_package
环境是:
我们将不胜感激任何帮助。
答案 0 :(得分:0)
在tensorflow根目录的WORKSPACE文件中删除以下行:
# Apple and Swift rules.
http_archive(
name = "build_bazel_rules_apple",
sha256 = "73b4980a318d203d3307f850e27e66ec5cc8d223147a3475a6f11597eb6438a5",
strip_prefix = "rules_apple-0.13.0",
urls = ["https://github.com/bazelbuild/rules_apple/archive/0.13.0.tar.gz"],
)
http_file(
name = "xctestrunner",
executable = 1,
urls = ["https://github.com/google/xctestrunner/releases/download/0.2.6/ios_test_runner.par"],
)
load("@build_bazel_rules_apple//apple:repositories.bzl", "apple_rules_dependencies")
apple_rules_dependencies()
load("@build_bazel_rules_swift//swift:repositories.bzl", "swift_rules_dependencies")
swift_rules_dependencies()
这些行似乎将构建其他平台不需要的Apple MacOS版本。