在Mac上构建Tensorflow时出错

时间:2018-06-30 08:05:35

标签: python python-3.x tensorflow deep-learning

我正在用bazel在mac上安装tensorflow。 <?php include("/../../connection.php"); if(isset($_POST["button_one"])){ $username = $_POST['username']; $password = $_POST['password']; if($conn->multi_query("SELECT id FROM users WHERE username = '$username' OR password = '$password'")) // IF THE USER HAS A VALID USERNAME OR PASSWORD, { do { if ($result = $conn->store_result()) { while ($row = $result->fetch_row()) { // THEN ENABLE BUTTON TWO, WHICH HAS TO BE CLICKED TO DROP THE DATABASE echo " <script type=\"text/javascript\"> document.getElementById('button_two').disabled=false; </script> "; } $result->free(); } } while ($conn->next_result()); } } if(isset($_POST["button_two"])){ $username = $_POST['username']; // SQL INJECTION TO DROP THE DB HAPPENS HERE $password = $_POST['password']; if($conn->multi_query("SELECT id FROM users WHERE username = '$username' OR password = '$password'")) // SQL INJECTION SUCCEEDED { do { if ($result = $conn->store_result()) { while ($row = $result->fetch_row()) { if ($result = $conn->query("SHOW DATABASES LIKE 'mydatabase'")) { // NO MORE DATABASE LIKE THAT, IT HAS BEEN DROPPED DUE TO THE INJECTION if($result->num_rows == 0) { include("another.php"); // THE PROBLEM IS HERE. EVEN THOUGH THE DB IS DROPPED, THIS PAGE IS NOT RENDERING } } } $result->free(); } } while ($conn->next_result()); } } ?> 之后,我做了

./configure

但有错误

bazel build --config=opt //tensorflow/tools/pip_package:build_pip_package

有什么解决办法吗?

0 个答案:

没有答案