Skip to content

Installation failed #137

@AlphaMind123

Description

@AlphaMind123

Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple
Processing /home/a328/visqol
Preparing metadata (setup.py) ... error
error: subprocess-exited-with-error

× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [88 lines of output]
Extracting Bazel installation...
Starting local Bazel server and connecting to it...
Loading:
Loading: 0 packages loaded
DEBUG: /home/a328/.cache/bazel/_bazel_a328/28991c706424f45773c978ba667c21dd/external/org_tensorflow/third_party/repo.bzl:132:14:
Warning: skipping import of repository 'pybind11_abseil' because it already exists.
DEBUG: /home/a328/.cache/bazel/_bazel_a328/28991c706424f45773c978ba667c21dd/external/org_tensorflow/third_party/repo.bzl:132:14:
Warning: skipping import of repository 'pybind11_bazel' because it already exists.
DEBUG: /home/a328/.cache/bazel/_bazel_a328/28991c706424f45773c978ba667c21dd/external/org_tensorflow/third_party/repo.bzl:132:14:
Warning: skipping import of repository 'com_google_protobuf' because it already exists.
DEBUG: /home/a328/.cache/bazel/_bazel_a328/28991c706424f45773c978ba667c21dd/external/org_tensorflow/third_party/repo.bzl:132:14:
Warning: skipping import of repository 'pybind11' because it already exists.
Loading: 0 packages loaded
Analyzing: target //:similarity_result_py_pb2 (1 packages loaded, 0 targets configured)
INFO: Analyzed target //:similarity_result_py_pb2 (43 packages loaded, 853 targets configured).

  INFO: Found 1 target...
  [3 / 23] [Prepa] BazelWorkspaceStatusAction stable-status.txt
  Target //:similarity_result_py_pb2 up-to-date:
    bazel-bin/similarity_result_pb2.py
  INFO: Elapsed time: 6.112s, Critical Path: 0.03s
  INFO: 1 process: 1 internal.
  INFO: Build completed successfully, 1 total action
  INFO: Build completed successfully, 1 total action
  Loading:
  Loading: 0 packages loaded
  DEBUG: /home/a328/.cache/bazel/_bazel_a328/28991c706424f45773c978ba667c21dd/external/org_tensorflow/third_party/repo.bzl:132:14:
  Warning: skipping import of repository 'pybind11_abseil' because it already exists.
  DEBUG: /home/a328/.cache/bazel/_bazel_a328/28991c706424f45773c978ba667c21dd/external/org_tensorflow/third_party/repo.bzl:132:14:
  Warning: skipping import of repository 'pybind11_bazel' because it already exists.
  DEBUG: /home/a328/.cache/bazel/_bazel_a328/28991c706424f45773c978ba667c21dd/external/org_tensorflow/third_party/repo.bzl:132:14:
  Warning: skipping import of repository 'com_google_protobuf' because it already exists.
  DEBUG: /home/a328/.cache/bazel/_bazel_a328/28991c706424f45773c978ba667c21dd/external/org_tensorflow/third_party/repo.bzl:132:14:
  Warning: skipping import of repository 'pybind11' because it already exists.
  Analyzing: target //:visqol_config_py_pb2 (0 packages loaded, 0 targets configured)
  INFO: Analyzed target //:visqol_config_py_pb2 (0 packages loaded, 4 targets configured).
  INFO: Found 1 target...
  [0 / 3] [Prepa] BazelWorkspaceStatusAction stable-status.txt
  Target //:visqol_config_py_pb2 up-to-date:
    bazel-bin/visqol_config_pb2.py
  INFO: Elapsed time: 0.262s, Critical Path: 0.00s
  INFO: 1 process: 1 internal.
  INFO: Build completed successfully, 1 total action
  INFO: Build completed successfully, 1 total action
  Loading:
  Loading: 0 packages loaded
  DEBUG: /home/a328/.cache/bazel/_bazel_a328/28991c706424f45773c978ba667c21dd/external/org_tensorflow/third_party/repo.bzl:132:14:
  Warning: skipping import of repository 'pybind11_abseil' because it already exists.
  DEBUG: /home/a328/.cache/bazel/_bazel_a328/28991c706424f45773c978ba667c21dd/external/org_tensorflow/third_party/repo.bzl:132:14:
  Warning: skipping import of repository 'pybind11_bazel' because it already exists.
  DEBUG: /home/a328/.cache/bazel/_bazel_a328/28991c706424f45773c978ba667c21dd/external/org_tensorflow/third_party/repo.bzl:132:14:
  Warning: skipping import of repository 'com_google_protobuf' because it already exists.
  DEBUG: /home/a328/.cache/bazel/_bazel_a328/28991c706424f45773c978ba667c21dd/external/org_tensorflow/third_party/repo.bzl:132:14:
  Warning: skipping import of repository 'pybind11' because it already exists.
  Analyzing: target //python:visqol_lib_py.so (1 packages loaded, 0 targets configured)
  INFO: Repository armadillo_headers instantiated at:
    /home/a328/visqol/WORKSPACE:162:13: in <toplevel>
  Repository rule http_archive defined at:
    /home/a328/.cache/bazel/_bazel_a328/28991c706424f45773c978ba667c21dd/external/bazel_tools/tools/build_defs/repo/http.bzl:353:31: in <toplevel>
  Analyzing: target //python:visqol_lib_py.so (28 packages loaded, 597 targets configured)
  WARNING: Download from http://sourceforge.net/projects/arma/files/armadillo-9.900.1.tar.xz failed: class java.io.FileNotFoundException GET returned 404 Not Found
  ERROR: An error occurred during the fetch of repository 'armadillo_headers':
     Traceback (most recent call last):
      File "/home/a328/.cache/bazel/_bazel_a328/28991c706424f45773c978ba667c21dd/external/bazel_tools/tools/build_defs/repo/http.bzl", line 100, column 45, in _http_archive_impl
              download_info = ctx.download_and_extract(
  Error in download_and_extract: java.io.IOException: Error downloading [http://sourceforge.net/projects/arma/files/armadillo-9.900.1.tar.xz] to /home/a328/.cache/bazel/_bazel_a328/28991c706424f45773c978ba667c21dd/external/armadillo_headers/temp11005369867661394588/armadillo-9.900.1.tar.xz: GET returned 404 Not Found
  ERROR: /home/a328/visqol/WORKSPACE:162:13: fetching http_archive rule //external:armadillo_headers: Traceback (most recent call last):
      File "/home/a328/.cache/bazel/_bazel_a328/28991c706424f45773c978ba667c21dd/external/bazel_tools/tools/build_defs/repo/http.bzl", line 100, column 45, in _http_archive_impl
              download_info = ctx.download_and_extract(
  Error in download_and_extract: java.io.IOException: Error downloading [http://sourceforge.net/projects/arma/files/armadillo-9.900.1.tar.xz] to /home/a328/.cache/bazel/_bazel_a328/28991c706424f45773c978ba667c21dd/external/armadillo_headers/temp11005369867661394588/armadillo-9.900.1.tar.xz: GET returned 404 Not Found
  ERROR: /home/a328/visqol/BUILD:83:11: //:visqol_lib depends on @armadillo_headers//:armadillo_header in repository @armadillo_headers which failed to fetch. no such package '@armadillo_headers//': java.io.IOException: Error downloading [http://sourceforge.net/projects/arma/files/armadillo-9.900.1.tar.xz] to /home/a328/.cache/bazel/_bazel_a328/28991c706424f45773c978ba667c21dd/external/armadillo_headers/temp11005369867661394588/armadillo-9.900.1.tar.xz: GET returned 404 Not Found
  WARNING: errors encountered while analyzing target '//python:visqol_lib_py.so': it will not be built
  INFO: Analyzed target //python:visqol_lib_py.so (67 packages loaded, 2676 targets configured).
  
  INFO: Found 0 targets...
  [0 / 1] [Prepa] BazelWorkspaceStatusAction stable-status.txt
  ERROR: command succeeded, but there were loading phase errors
  INFO: Elapsed time: 2.771s, Critical Path: 0.00s
  INFO: 1 process: 1 internal.
  FAILED: Build did NOT complete successfully
  FAILED: Build did NOT complete successfully
  running egg_info
  creating /tmp/pip-pip-egg-info-j_lr_42u/visqol.egg-info
  writing /tmp/pip-pip-egg-info-j_lr_42u/visqol.egg-info/PKG-INFO
  writing dependency_links to /tmp/pip-pip-egg-info-j_lr_42u/visqol.egg-info/dependency_links.txt
  writing top-level names to /tmp/pip-pip-egg-info-j_lr_42u/visqol.egg-info/top_level.txt
  writing manifest file '/tmp/pip-pip-egg-info-j_lr_42u/visqol.egg-info/SOURCES.txt'
  error: package directory 'bazel-bin/python' does not exist
  [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed

× Encountered error while generating package metadata.
╰─> See above for output.

note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
(mamba) a328@328:/visqol$ numpy --version
numpy:未找到命令
(mamba) a328@328:
/visqol$ bazel build :visqol -c opt
DEBUG: /home/a328/.cache/bazel/_bazel_a328/28991c706424f45773c978ba667c21dd/external/org_tensorflow/third_party/repo.bzl:132:14:
Warning: skipping import of repository 'pybind11_abseil' because it already exists.
DEBUG: /home/a328/.cache/bazel/_bazel_a328/28991c706424f45773c978ba667c21dd/external/org_tensorflow/third_party/repo.bzl:132:14:
Warning: skipping import of repository 'pybind11_bazel' because it already exists.
DEBUG: /home/a328/.cache/bazel/_bazel_a328/28991c706424f45773c978ba667c21dd/external/org_tensorflow/third_party/repo.bzl:132:14:
Warning: skipping import of repository 'com_google_protobuf' because it already exists.
DEBUG: /home/a328/.cache/bazel/_bazel_a328/28991c706424f45773c978ba667c21dd/external/org_tensorflow/third_party/repo.bzl:132:14:
Warning: skipping import of repository 'pybind11' because it already exists.
INFO: Repository armadillo_headers instantiated at:
/home/a328/visqol/WORKSPACE:162:13: in
Repository rule http_archive defined at:
/home/a328/.cache/bazel/_bazel_a328/28991c706424f45773c978ba667c21dd/external/bazel_tools/tools/build_defs/repo/http.bzl:353:31: in
WARNING: Download from http://sourceforge.net/projects/arma/files/armadillo-9.900.1.tar.xz failed: class java.io.FileNotFoundException GET returned 404 Not Found
ERROR: An error occurred during the fetch of repository 'armadillo_headers':
Traceback (most recent call last):
File "/home/a328/.cache/bazel/_bazel_a328/28991c706424f45773c978ba667c21dd/external/bazel_tools/tools/build_defs/repo/http.bzl", line 100, column 45, in _http_archive_impl
download_info = ctx.download_and_extract(
Error in download_and_extract: java.io.IOException: Error downloading [http://sourceforge.net/projects/arma/files/armadillo-9.900.1.tar.xz] to /home/a328/.cache/bazel/_bazel_a328/28991c706424f45773c978ba667c21dd/external/armadillo_headers/temp17585758056886965057/armadillo-9.900.1.tar.xz: GET returned 404 Not Found
ERROR: /home/a328/visqol/WORKSPACE:162:13: fetching http_archive rule //external:armadillo_headers: Traceback (most recent call last):
File "/home/a328/.cache/bazel/_bazel_a328/28991c706424f45773c978ba667c21dd/external/bazel_tools/tools/build_defs/repo/http.bzl", line 100, column 45, in _http_archive_impl
download_info = ctx.download_and_extract(
Error in download_and_extract: java.io.IOException: Error downloading [http://sourceforge.net/projects/arma/files/armadillo-9.900.1.tar.xz] to /home/a328/.cache/bazel/_bazel_a328/28991c706424f45773c978ba667c21dd/external/armadillo_headers/temp17585758056886965057/armadillo-9.900.1.tar.xz: GET returned 404 Not Found
ERROR: /home/a328/visqol/BUILD:83:11: //:visqol_lib depends on @armadillo_headers//:armadillo_header in repository @armadillo_headers which failed to fetch. no such package '@armadillo_headers//': java.io.IOException: Error downloading [http://sourceforge.net/projects/arma/files/armadillo-9.900.1.tar.xz] to /home/a328/.cache/bazel/_bazel_a328/28991c706424f45773c978ba667c21dd/external/armadillo_headers/temp17585758056886965057/armadillo-9.900.1.tar.xz: GET returned 404 Not Found
WARNING: errors encountered while analyzing target '//:visqol': it will not be built
INFO: Analyzed target //:visqol (0 packages loaded, 1 target configured).
INFO: Found 0 targets...
ERROR: command succeeded, but there were loading phase errors
INFO: Elapsed time: 1.321s, Critical Path: 0.00s
INFO: 1 process: 1 internal.
FAILED: Build did NOT complete successfully
(mamba) a328@328:~/visqol$

What should I do to install it successfully?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions