minerllabs / minerl

MineRL Competition for Sample Efficient Reinforcement Learning - Python Package
http://minerl.io/docs/
Other
711 stars 153 forks source link

Install Error #666

Open OopsYouDiedE opened 2 years ago

OopsYouDiedE commented 2 years ago

I can't install minerl (base) adam@adam-Lenovo-Legion-R7000-2020:~$ conda activate minerl (minerl) adam@adam-Lenovo-Legion-R7000-2020:~$ pip install git+https://github.com/minerllabs/minerl Collecting git+https://github.com/minerllabs/minerl Cloning https://github.com/minerllabs/minerl to /tmp/pip-req-build-mju16o0m Running command git clone --filter=blob:none --quiet https://github.com/minerllabs/minerl /tmp/pip-req-build-mju16o0m Resolved https://github.com/minerllabs/minerl to commit edec691e05ff82983955cb852fc58e3e4e784317 Preparing metadata (setup.py) ... error error: subprocess-exited-with-error

× python setup.py egg_info did not run successfully. │ exit code: 1 ╰─> [1818 lines of output] 正克隆到 'MCP-Reborn'... 注意:正在切换到 '1.16.5-20210115'。

  您正处于分离头指针状态。您可以查看、做试验性的修改及提交,并且您可以在切换
  回一个分支时,丢弃在此状态下所做的提交而不对分支造成影响。

  如果您想要通过创建分支来保留在此状态下所做的提交,您可以通过在 switch 命令
  中添加参数 -c 来实现(现在或稍后)。例如:

    git switch -c <新分支名>

  或者撤销此操作:

    git switch -

  通过将配置变量 advice.detachedHead 设置为 false 来关闭此建议

  HEAD 目前位于 1e71be5 Update README.md
  Downloading https://services.gradle.org/distributions/gradle-4.9-all.zip
  ............................................................................................................

  Welcome to Gradle 4.9!

  Here are the highlights of this release:
   - Experimental APIs for creating and configuring tasks lazily
   - Pass arguments to JavaExec via CLI
   - Auxiliary publication dependency support for multi-project builds
   - Improved dependency insight report

  For more details see https://docs.gradle.org/4.9/release-notes.html

  Starting a Gradle Daemon (subsequent builds will be faster)

  FAILURE: Build failed with an exception.

  * What went wrong:
  A problem occurred configuring root project 'mcp-reborn'.
  > Could not resolve all artifacts for configuration ':classpath'.
     > Could not resolve net.minecraftforge.gradle:ForgeGradle:3.0.+.
       Required by:
           project :
        > Failed to list versions for net.minecraftforge.gradle:ForgeGradle.
           > Failed to ping owner of lock for artifact cache (/home/adam/.gradle/caches/modules-2) (lock id: 5200382211232544584, port: 42290)
        > Failed to list versions for net.minecraftforge.gradle:ForgeGradle.
           > Failed to ping owner of lock for artifact cache (/home/adam/.gradle/caches/modules-2) (lock id: 5200382211232544584, port: 42290)
        > Failed to list versions for net.minecraftforge.gradle:ForgeGradle.
           > Failed to ping owner of lock for artifact cache (/home/adam/.gradle/caches/modules-2) (lock id: 5200382211232544584, port: 42290)

  * Try:
  Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

  * Get more help at https://help.gradle.org

  BUILD FAILED in 4m 45s
  The text leading up to this was:
  --------------------------
  |diff -u1 -rN MCP-Reborn-vanilla/src/main/java/net/minecraft/block/Block.java MCP-Reborn/src/main/java/net/minecraft/block/Block.java
  |--- MCP-Reborn-vanilla/src/main/java/net/minecraft/block/Block.java        2022-06-23 00:30:26.571515958 +0100
  |+++ MCP-Reborn/src/main/java/net/minecraft/block/Block.java        2022-06-23 00:28:27.221515359 +0100
  --------------------------
  File to patch:
  Skip this patch? [y]
  3 out of 3 hunks ignored
  The text leading up to this was:

.......

......
FAILURE: Build failed with an exception.

  * What went wrong:
  Execution failed for task ':compileJava'.
  > Compilation failed; see the compiler error output for details.

  * Try:
  Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

  * Get more help at https://help.gradle.org

  Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
  Use '--warning-mode all' to show the individual deprecation warnings.
  See https://docs.gradle.org/6.8.1/userguide/command_line_interface.html#sec:command_line_warnings

  BUILD FAILED in 7s
  10 actionable tasks: 10 executed
  Traceback (most recent call last):
    File "<string>", line 2, in <module>
    File "<pip-setuptools-caller>", line 34, in <module>
    File "/tmp/pip-req-build-mju16o0m/setup.py", line 214, in <module>
      prep_mcp()
    File "/tmp/pip-req-build-mju16o0m/setup.py", line 198, in prep_mcp
      subprocess.check_call('{} clean build shadowJar'.format(gradlew).split(' '), cwd=workdir)
    File "/home/adam/miniconda3/envs/minerl/lib/python3.9/subprocess.py", line 373, in check_call
      raise CalledProcessError(retcode, cmd)
  subprocess.CalledProcessError: Command '['./gradlew', 'clean', 'build', 'shadowJar']' returned non-zero exit status 1.
  [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. (minerl) adam@adam-Lenovo-Legion-R7000-2020:~$ ^C (minerl) adam@adam-Lenovo-Legion-R7000-2020:~$ pip install git+https://github.co(minerl) adam@adam-Lenovo-Legion-R7000-2020:~$ java -version openjdk version "1.8.0_342" OpenJDK Runtime Environment (build 1.8.0_342-8u342-b07-0ubuntu1~22.04-b07) OpenJDK 64-Bit Server VM (build 25.342-b07, mixed mode)

OopsYouDiedE commented 2 years ago

FAILURE: Build failed with an exception.

Miffyli commented 2 years ago

Hey. The error suggests there was some issues when reading or writing to /home/adam/.gradle. Double check that you do not have any global gradle installiations (remove if any), and try removing /home/adam/.gradle.

OopsYouDiedE commented 2 years ago

Collecting git+https://github.com/minerllabs/minerl Cloning https://github.com/minerllabs/minerl to /tmp/pip-req-build-nq876sti Running command git clone -q https://github.com/minerllabs/minerl /tmp/pip-req-build-nq876sti error: RPC 失败。curl 56 GnuTLS recv error (-54): Error in the pull function. error: 预期仍然需要 6801 个字节的正文 fetch-pack: unexpected disconnect while reading sideband packet fatal: 过早的文件结束符(EOF) fatal: fetch-pack:无效的 index-pack 输出 WARNING: Discarding git+https://github.com/minerllabs/minerl. Command errored out with exit status 128: git clone -q https://github.com/minerllabs/minerl /tmp/pip-req-build-nq876sti Check the logs for full command output. ERROR: Command errored out with exit status 128: git clone -q https://github.com/minerllabs/minerl /tmp/pip-req-build-nq876sti Check the logs for full command output.

OopsYouDiedE commented 2 years ago

(base) adam@adam-Lenovo-Legion-R7000-2020:~/下载/minerl-dev$ conda activate minerl (minerl) adam@adam-Lenovo-Legion-R7000-2020:~/下载/minerl-dev$ sudo python setup.py [sudo] adam 的密码: sudo: python:找不到命令 (minerl) adam@adam-Lenovo-Legion-R7000-2020:~/下载/minerl-dev$ python setup.py 正克隆到 'MCP-Reborn'... remote: Enumerating objects: 243, done. remote: Counting objects: 100% (70/70), done. remote: Compressing objects: 100% (28/28), done. remote: Total 243 (delta 50), reused 45 (delta 40), pack-reused 173 接收对象中: 100% (243/243), 271.65 KiB | 147.00 KiB/s, 完成. 处理 delta 中: 100% (125/125), 完成. 注意:正在切换到 '1.16.5-20210115'。

您正处于分离头指针状态。您可以查看、做试验性的修改及提交,并且您可以在切换 回一个分支时,丢弃在此状态下所做的提交而不对分支造成影响。

如果您想要通过创建分支来保留在此状态下所做的提交,您可以通过在 switch 命令 中添加参数 -c 来实现(现在或稍后)。例如:

git switch -c <新分支名>

或者撤销此操作:

git switch -

通过将配置变量 advice.detachedHead 设置为 false 来关闭此建议

HEAD 目前位于 1e71be5 Update README.md Starting a Gradle Daemon, 1 incompatible and 1 stopped Daemons could not be reused, use --status for details

Task :mcp:setupMCP Setting up MCP environment Initializing steps Executing steps Running 'downloadManifest' Running 'downloadJson' Running 'downloadClient' Running 'downloadServer' Running 'stripClient' Running 'stripServer' Running 'merge' Running 'rename' Running 'mcinject' Running 'listLibraries' Running 'decompile' Running 'inject' Running 'patch' MCP environment setup is complete

BUILD SUCCESSFUL in 4m 48s 6 actionable tasks: 6 executed Starting a Gradle Daemon, 1 incompatible and 1 stopped Daemons could not be reused, use --status for details

Configure project : [MixinGradle] Skipping eclipse integration, extension not found


These are the repositories after plugins have been applied: | - MavenRepo -> https://repo.maven.apache.org/maven2/ | - BintrayJCenter -> https://jcenter.bintray.com/ | - maven -> https://repo.spongepowered.org/maven/ | - maven2 -> https://maven.minecraftforge.net/ | - BUNDELED_557851806 -> downloads to: /home/adam/.gradle/caches/forge_gradle/bundeled_repo/ | - maven3 -> https://libraries.minecraft.net/


Repositories after removing proxied repos: | - MavenRepo -> https://repo.maven.apache.org/maven2/ | - BintrayJCenter -> https://jcenter.bintray.com/ | - maven -> https://repo.spongepowered.org/maven/ | - maven2 -> https://maven.minecraftforge.net/ | - BUNDELED_557851806 -> downloads to: /home/adam/.gradle/caches/forge_gradle/bundeled_repo/ | - maven3 -> https://libraries.minecraft.net/


Task :verifyRepos Checking BuildScript Repositories: | - [ OK ]: MavenLocal -> file:/home/adam/.m2/repository | - [FAIL]: MavenRepo -> https://repo.maven.apache.org/maven2/ | - [FAIL]: BintrayJCenter -> https://jcenter.bintray.com/ | - [FAIL]: maven -> https://repo.spongepowered.org/maven/ Checking Project Repositories: | - [FAIL]: MavenRepo -> https://repo.maven.apache.org/maven2/ | - [FAIL]: BintrayJCenter -> https://jcenter.bintray.com/ | - [FAIL]: maven -> https://repo.spongepowered.org/maven/ | - [FAIL]: maven2 -> https://maven.minecraftforge.net/ | - [ OK ]: BUNDELED_557851806 (accepted custom MC repo) | - [FAIL]: maven3 -> https://libraries.minecraft.net/ Downloading: https://resources.download.minecraft.net/4f/4f8c3f9b4f290f63c78bf3bbaad16906a3ccff29 Asset: minecraft/sounds/music/game/creative/creative3.ogg Downloading: https://resources.download.minecraft.net/46/4664de25eb2bfc88ebbd638cfae6934dd968ceaa Asset: minecraft/sounds/music/game/creative/creative4.ogg Downloading: https://resources.download.minecraft.net/47/473768ad0df67d518b3bd4cfe1c380d6d84bddbf Asset: minecraft/sounds/music/game/nether/nether_wastes/rubedo.ogg minecraft/sounds/music/game/nether/nether_wastes/rubedo.ogg Failed. javax.net.ssl.SSLException: Connection reset at sun.security.ssl.Alert.createSSLException(Alert.java:127) at sun.security.ssl.TransportContext.fatal(TransportContext.java:324) at sun.security.ssl.TransportContext.fatal(TransportContext.java:267) at sun.security.ssl.TransportContext.fatal(TransportContext.java:262) at sun.security.ssl.SSLTransport.decode(SSLTransport.java:138) at sun.security.ssl.SSLSocketImpl.decode(SSLSocketImpl.java:1400) at sun.security.ssl.SSLSocketImpl.readApplicationRecord(SSLSocketImpl.java:1368) at sun.security.ssl.SSLSocketImpl.access$300(SSLSocketImpl.java:73) at sun.security.ssl.SSLSocketImpl$AppInputStream.read(SSLSocketImpl.java:962) at java.io.BufferedInputStream.fill(BufferedInputStream.java:246) at java.io.BufferedInputStream.read1(BufferedInputStream.java:286) at java.io.BufferedInputStream.read(BufferedInputStream.java:345) at sun.net.www.MeteredStream.read(MeteredStream.java:134) at java.io.FilterInputStream.read(FilterInputStream.java:133) at sun.net.www.protocol.http.HttpURLConnection$HttpInputStream.read(HttpURLConnection.java:3456) at sun.net.www.protocol.http.HttpURLConnection$HttpInputStream.read(HttpURLConnection.java:3449) at org.apache.commons.io.IOUtils.copyLarge(IOUtils.java:1792) at org.apache.commons.io.IOUtils.copyLarge(IOUtils.java:1769) at org.apache.commons.io.IOUtils.copy(IOUtils.java:1744) at org.apache.commons.io.FileUtils.copyInputStreamToFile(FileUtils.java:1512) at org.apache.commons.io.FileUtils.copyURLToFile(FileUtils.java:1490) at net.minecraftforge.gradle.common.task.DownloadAssets.lambda$run$0(DownloadAssets.java:68) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:750) Suppressed: java.net.SocketException: 断开的管道 (Write failed) at java.net.SocketOutputStream.socketWrite0(Native Method) at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:111) at java.net.SocketOutputStream.write(SocketOutputStream.java:155) at sun.security.ssl.SSLSocketOutputRecord.encodeAlert(SSLSocketOutputRecord.java:81) at sun.security.ssl.TransportContext.fatal(TransportContext.java:355) ... 23 more Caused by: java.net.SocketException: Connection reset at java.net.SocketInputStream.read(SocketInputStream.java:210) at java.net.SocketInputStream.read(SocketInputStream.java:141) at sun.security.ssl.SSLSocketInputRecord.read(SSLSocketInputRecord.java:464) at sun.security.ssl.SSLSocketInputRecord.decodeInputRecord(SSLSocketInputRecord.java:237) at sun.security.ssl.SSLSocketInputRecord.decode(SSLSocketInputRecord.java:190) at sun.security.ssl.SSLTransport.decode(SSLTransport.java:109) ... 20 more

Task :downloadAssets FAILED

FAILURE: Build failed with an exception.

Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0. Use '--warning-mode all' to show the individual deprecation warnings. See https://docs.gradle.org/6.8.1/userguide/command_line_interface.html#sec:command_line_warnings

BUILD FAILED in 1m 10s 3 actionable tasks: 3 executed

Configure project : [MixinGradle] Skipping eclipse integration, extension not found


These are the repositories after plugins have been applied: | - MavenRepo -> https://repo.maven.apache.org/maven2/ | - BintrayJCenter -> https://jcenter.bintray.com/ | - maven -> https://repo.spongepowered.org/maven/ | - maven2 -> https://maven.minecraftforge.net/ | - BUNDELED_-989855924 -> downloads to: /home/adam/.gradle/caches/forge_gradle/bundeled_repo/ | - maven3 -> https://libraries.minecraft.net/


Repositories after removing proxied repos: | - MavenRepo -> https://repo.maven.apache.org/maven2/ | - BintrayJCenter -> https://jcenter.bintray.com/ | - maven -> https://repo.spongepowered.org/maven/ | - maven2 -> https://maven.minecraftforge.net/ | - BUNDELED_-989855924 -> downloads to: /home/adam/.gradle/caches/forge_gradle/bundeled_repo/ | - maven3 -> https://libraries.minecraft.net/


Task :verifyRepos Checking BuildScript Repositories: | - [ OK ]: MavenLocal -> file:/home/adam/.m2/repository | - [FAIL]: MavenRepo -> https://repo.maven.apache.org/maven2/ | - [FAIL]: BintrayJCenter -> https://jcenter.bintray.com/ | - [FAIL]: maven -> https://repo.spongepowered.org/maven/ Checking Project Repositories: | - [FAIL]: MavenRepo -> https://repo.maven.apache.org/maven2/ | - [FAIL]: BintrayJCenter -> https://jcenter.bintray.com/ | - [FAIL]: maven -> https://repo.spongepowered.org/maven/ | - [FAIL]: maven2 -> https://maven.minecraftforge.net/ | - [ OK ]: BUNDELED_-989855924 (accepted custom MC repo) | - [FAIL]: maven3 -> https://libraries.minecraft.net/ Downloading: https://resources.download.minecraft.net/47/473768ad0df67d518b3bd4cfe1c380d6d84bddbf Asset: minecraft/sounds/music/game/nether/nether_wastes/rubedo.ogg

Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0. Use '--warning-mode all' to show the individual deprecation warnings. See https://docs.gradle.org/6.8.1/userguide/command_line_interface.html#sec:command_line_warnings

BUILD SUCCESSFUL in 1m 54s 3 actionable tasks: 2 executed, 1 up-to-date

Configure project : [MixinGradle] Skipping eclipse integration, extension not found


These are the repositories after plugins have been applied: | - MavenRepo -> https://repo.maven.apache.org/maven2/ | - BintrayJCenter -> https://jcenter.bintray.com/ | - maven -> https://repo.spongepowered.org/maven/ | - maven2 -> https://maven.minecraftforge.net/ | - BUNDELED_-356516306 -> downloads to: /home/adam/.gradle/caches/forge_gradle/bundeled_repo/ | - maven3 -> https://libraries.minecraft.net/


Repositories after removing proxied repos: | - MavenRepo -> https://repo.maven.apache.org/maven2/ | - BintrayJCenter -> https://jcenter.bintray.com/ | - maven -> https://repo.spongepowered.org/maven/ | - maven2 -> https://maven.minecraftforge.net/ | - BUNDELED_-356516306 -> downloads to: /home/adam/.gradle/caches/forge_gradle/bundeled_repo/ | - maven3 -> https://libraries.minecraft.net/


Task :verifyRepos Checking BuildScript Repositories: | - [ OK ]: MavenLocal -> file:/home/adam/.m2/repository | - [FAIL]: MavenRepo -> https://repo.maven.apache.org/maven2/ | - [FAIL]: BintrayJCenter -> https://jcenter.bintray.com/ | - [FAIL]: maven -> https://repo.spongepowered.org/maven/ Checking Project Repositories: | - [FAIL]: MavenRepo -> https://repo.maven.apache.org/maven2/ | - [FAIL]: BintrayJCenter -> https://jcenter.bintray.com/ | - [FAIL]: maven -> https://repo.spongepowered.org/maven/ | - [FAIL]: maven2 -> https://maven.minecraftforge.net/ | - [ OK ]: BUNDELED_-356516306 (accepted custom MC repo) | - [FAIL]: maven3 -> https://libraries.minecraft.net/

Task :jaxb FAILED [ant:xjc] [WARNING] schema_reference.4: 无法读取方案文档 'Types.xsd', 原因为 1) 无法找到文档; 2) 无法读取文档; 3) 文档的根元素不是 。 [ant:xjc] line 11 of file:/home/adam/下载/minerl-dev/minerl/MCP-Reborn/src/main/resources/Mission.xsd [ant:xjc] [ant:xjc] [WARNING] schema_reference.4: 无法读取方案文档 'MissionHandlers.xsd', 原因为 1) 无法找到文档; 2) 无法读取文档; 3) 文档的根元素不是 。 [ant:xjc] line 12 of file:/home/adam/下载/minerl-dev/minerl/MCP-Reborn/src/main/resources/Mission.xsd [ant:xjc] [ant:xjc] [ERROR] src-resolve: 无法将名称 'BlockOrItem' 解析为 'type definition' 组件。 [ant:xjc] line 473 of file:/home/adam/下载/minerl-dev/minerl/MCP-Reborn/src/main/resources/Mission.xsd [ant:xjc] [ant:xjc] [ERROR] src-resolve: 无法将名称 'BlockOrItem' 解析为 'simpleType definition' 组件。 [ant:xjc] line 473 of file:/home/adam/下载/minerl-dev/minerl/MCP-Reborn/src/main/resources/Mission.xsd [ant:xjc] [ant:xjc] [ERROR] src-resolve: 无法将名称 'Variation' 解析为 'type definition' 组件。 [ant:xjc] line 474 of file:/home/adam/下载/minerl-dev/minerl/MCP-Reborn/src/main/resources/Mission.xsd [ant:xjc] [ant:xjc] [ERROR] src-resolve: 无法将名称 'Variation' 解析为 'simpleType definition' 组件。 [ant:xjc] line 474 of file:/home/adam/下载/minerl-dev/minerl/MCP-Reborn/src/main/resources/Mission.xsd [ant:xjc] [ant:xjc] [ERROR] src-resolve: 无法将名称 'Colour' 解析为 'type definition' 组件。 [ant:xjc] line 475 of file:/home/adam/下载/minerl-dev/minerl/MCP-Reborn/src/main/resources/Mission.xsd [ant:xjc] [ant:xjc] [ERROR] src-resolve: 无法将名称 'Colour' 解析为 'simpleType definition' 组件。 [ant:xjc] line 475 of file:/home/adam/下载/minerl-dev/minerl/MCP-Reborn/src/main/resources/Mission.xsd [ant:xjc] [ant:xjc] [ERROR] src-resolve: 无法将名称 'PosAndDirection' 解析为 'type definition' 组件。 [ant:xjc] line 187 of file:/home/adam/下载/minerl-dev/minerl/MCP-Reborn/src/main/resources/Mission.xsd [ant:xjc] [ant:xjc] [ERROR] src-resolve: 无法将名称 'Pos' 解析为 'type definition' 组件。 [ant:xjc] line 195 of file:/home/adam/下载/minerl-dev/minerl/MCP-Reborn/src/main/resources/Mission.xsd [ant:xjc] [ant:xjc] [ERROR] src-resolve: 无法将名称 'EntityTypes' 解析为 'type definition' 组件。 [ant:xjc] line 389 of file:/home/adam/下载/minerl-dev/minerl/MCP-Reborn/src/main/resources/Mission.xsd [ant:xjc] [ant:xjc] [ERROR] src-resolve: 无法将名称 'ObservationFromAchievements' 解析为 'element declaration' 组件。 [ant:xjc] line 552 of file:/home/adam/下载/minerl-dev/minerl/MCP-Reborn/src/main/resources/Mission.xsd [ant:xjc] [ant:xjc] [ERROR] src-resolve: 无法将名称 'ObservationFromChat' 解析为 'element declaration' 组件。 [ant:xjc] line 553 of file:/home/adam/下载/minerl-dev/minerl/MCP-Reborn/src/main/resources/Mission.xsd [ant:xjc] [ant:xjc] [ERROR] src-resolve: 无法将名称 'ObservationFromCompass' 解析为 'element declaration' 组件。 [ant:xjc] line 554 of file:/home/adam/下载/minerl-dev/minerl/MCP-Reborn/src/main/resources/Mission.xsd [ant:xjc] [ant:xjc] [ERROR] src-resolve: 无法将名称 'ObservationFromDiscreteCell' 解析为 'element declaration' 组件。 [ant:xjc] line 555 of file:/home/adam/下载/minerl-dev/minerl/MCP-Reborn/src/main/resources/Mission.xsd [ant:xjc] [ant:xjc] [ERROR] src-resolve: 无法将名称 'ObservationFromDistance' 解析为 'element declaration' 组件。 [ant:xjc] line 556 of file:/home/adam/下载/minerl-dev/minerl/MCP-Reborn/src/main/resources/Mission.xsd [ant:xjc] [ant:xjc] [ERROR] src-resolve: 无法将名称 'ObservationFromEquippedItem' 解析为 'element declaration' 组件。 [ant:xjc] line 557 of file:/home/adam/下载/minerl-dev/minerl/MCP-Reborn/src/main/resources/Mission.xsd [ant:xjc] [ant:xjc] [ERROR] src-resolve: 无法将名称 'ObservationFromFullInventory' 解析为 'element declaration' 组件。 [ant:xjc] line 558 of file:/home/adam/下载/minerl-dev/minerl/MCP-Reborn/src/main/resources/Mission.xsd [ant:xjc] [ant:xjc] [ERROR] src-resolve: 无法将名称 'ObservationFromFullStats' 解析为 'element declaration' 组件。 [ant:xjc] line 559 of file:/home/adam/下载/minerl-dev/minerl/MCP-Reborn/src/main/resources/Mission.xsd [ant:xjc] [ant:xjc] [ERROR] src-resolve: 无法将名称 'ObservationFromGrid' 解析为 'element declaration' 组件。 [ant:xjc] line 560 of file:/home/adam/下载/minerl-dev/minerl/MCP-Reborn/src/main/resources/Mission.xsd [ant:xjc] [ant:xjc] [ERROR] src-resolve: 无法将名称 'ObservationFromHotBar' 解析为 'element declaration' 组件。 [ant:xjc] line 561 of file:/home/adam/下载/minerl-dev/minerl/MCP-Reborn/src/main/resources/Mission.xsd [ant:xjc] [ant:xjc] [ERROR] src-resolve: 无法将名称 'ObservationFromHuman' 解析为 'element declaration' 组件。 [ant:xjc] line 562 of file:/home/adam/下载/minerl-dev/minerl/MCP-Reborn/src/main/resources/Mission.xsd [ant:xjc] [ant:xjc] [ERROR] src-resolve: 无法将名称 'ObservationFromNearbyEntities' 解析为 'element declaration' 组件。 [ant:xjc] line 563 of file:/home/adam/下载/minerl-dev/minerl/MCP-Reborn/src/main/resources/Mission.xsd [ant:xjc] [ant:xjc] [ERROR] src-resolve: 无法将名称 'ObservationFromRay' 解析为 'element declaration' 组件。 [ant:xjc] line 564 of file:/home/adam/下载/minerl-dev/minerl/MCP-Reborn/src/main/resources/Mission.xsd [ant:xjc] [ant:xjc] [ERROR] src-resolve: 无法将名称 'ObservationFromRecentCommands' 解析为 'element declaration' 组件。 [ant:xjc] line 565 of file:/home/adam/下载/minerl-dev/minerl/MCP-Reborn/src/main/resources/Mission.xsd [ant:xjc] [ant:xjc] [ERROR] src-resolve: 无法将名称 'ObservationFromSubgoalPositionList' 解析为 'element declaration' 组件。 [ant:xjc] line 566 of file:/home/adam/下载/minerl-dev/minerl/MCP-Reborn/src/main/resources/Mission.xsd [ant:xjc] [ant:xjc] [ERROR] src-resolve: 无法将名称 'ObservationFromSystem' 解析为 'element declaration' 组件。 [ant:xjc] line 567 of file:/home/adam/下载/minerl-dev/minerl/MCP-Reborn/src/main/resources/Mission.xsd [ant:xjc] [ant:xjc] [ERROR] src-resolve: 无法将名称 'ObservationFromTurnScheduler' 解析为 'element declaration' 组件。 [ant:xjc] line 568 of file:/home/adam/下载/minerl-dev/minerl/MCP-Reborn/src/main/resources/Mission.xsd [ant:xjc] [ant:xjc] [ERROR] src-resolve: 无法将名称 'VideoProducer' 解析为 'element declaration' 组件。 [ant:xjc] line 570 of file:/home/adam/下载/minerl-dev/minerl/MCP-Reborn/src/main/resources/Mission.xsd [ant:xjc] [ant:xjc] [ERROR] src-resolve: 无法将名称 'DepthProducer' 解析为 'element declaration' 组件。 [ant:xjc] line 571 of file:/home/adam/下载/minerl-dev/minerl/MCP-Reborn/src/main/resources/Mission.xsd [ant:xjc] [ant:xjc] [ERROR] src-resolve: 无法将名称 'LuminanceProducer' 解析为 'element declaration' 组件。 [ant:xjc] line 572 of file:/home/adam/下载/minerl-dev/minerl/MCP-Reborn/src/main/resources/Mission.xsd [ant:xjc] [ant:xjc] [ERROR] src-resolve: 无法将名称 'ColourMapProducer' 解析为 'element declaration' 组件。 [ant:xjc] line 573 of file:/home/adam/下载/minerl-dev/minerl/MCP-Reborn/src/main/resources/Mission.xsd [ant:xjc] [ant:xjc] [ERROR] src-resolve: 无法将名称 'FileBasedPerformanceProducer' 解析为 'element declaration' 组件。 [ant:xjc] line 575 of file:/home/adam/下载/minerl-dev/minerl/MCP-Reborn/src/main/resources/Mission.xsd [ant:xjc] [ant:xjc] [ERROR] src-resolve: 无法将名称 'RewardForTouchingBlockType' 解析为 'element declaration' 组件。 [ant:xjc] line 577 of file:/home/adam/下载/minerl-dev/minerl/MCP-Reborn/src/main/resources/Mission.xsd [ant:xjc] [ant:xjc] [ERROR] src-resolve: 无法将名称 'RewardForSendingCommand' 解析为 'element declaration' 组件。 [ant:xjc] line 578 of file:/home/adam/下载/minerl-dev/minerl/MCP-Reborn/src/main/resources/Mission.xsd [ant:xjc] [ant:xjc] [ERROR] src-resolve: 无法将名称 'RewardForSendingMatchingChatMessage' 解析为 'element declaration' 组件。 [ant:xjc] line 579 of file:/home/adam/下载/minerl-dev/minerl/MCP-Reborn/src/main/resources/Mission.xsd [ant:xjc] [ant:xjc] [ERROR] src-resolve: 无法将名称 'RewardForCollectingItem' 解析为 'element declaration' 组件。 [ant:xjc] line 580 of file:/home/adam/下载/minerl-dev/minerl/MCP-Reborn/src/main/resources/Mission.xsd [ant:xjc] [ant:xjc] [ERROR] src-resolve: 无法将名称 'RewardForCollectingItemQuantity' 解析为 'element declaration' 组件。 [ant:xjc] line 581 of file:/home/adam/下载/minerl-dev/minerl/MCP-Reborn/src/main/resources/Mission.xsd [ant:xjc] [ant:xjc] [ERROR] src-resolve: 无法将名称 'RewardForPossessingItem' 解析为 'element declaration' 组件。 [ant:xjc] line 582 of file:/home/adam/下载/minerl-dev/minerl/MCP-Reborn/src/main/resources/Mission.xsd [ant:xjc] [ant:xjc] [ERROR] src-resolve: 无法将名称 'RewardForCraftingItem' 解析为 'element declaration' 组件。 [ant:xjc] line 583 of file:/home/adam/下载/minerl-dev/minerl/MCP-Reborn/src/main/resources/Mission.xsd [ant:xjc] [ant:xjc] [ERROR] src-resolve: 无法将名称 'RewardForSmeltingItem' 解析为 'element declaration' 组件。 [ant:xjc] line 584 of file:/home/adam/下载/minerl-dev/minerl/MCP-Reborn/src/main/resources/Mission.xsd [ant:xjc] [ant:xjc] [ERROR] src-resolve: 无法将名称 'RewardForDiscardingItem' 解析为 'element declaration' 组件。 [ant:xjc] line 585 of file:/home/adam/下载/minerl-dev/minerl/MCP-Reborn/src/main/resources/Mission.xsd [ant:xjc] [ant:xjc] [ERROR] src-resolve: 无法将名称 'RewardForReachingPosition' 解析为 'element declaration' 组件。 [ant:xjc] line 586 of file:/home/adam/下载/minerl-dev/minerl/MCP-Reborn/src/main/resources/Mission.xsd [ant:xjc] [ant:xjc] [ERROR] src-resolve: 无法将名称 'RewardForMissionEnd' 解析为 'element declaration' 组件。 [ant:xjc] line 587 of file:/home/adam/下载/minerl-dev/minerl/MCP-Reborn/src/main/resources/Mission.xsd [ant:xjc] [ant:xjc] [ERROR] src-resolve: 无法将名称 'RewardForStructureCopying' 解析为 'element declaration' 组件。 [ant:xjc] line 588 of file:/home/adam/下载/minerl-dev/minerl/MCP-Reborn/src/main/resources/Mission.xsd [ant:xjc] [ant:xjc] [ERROR] src-resolve: 无法将名称 'RewardForTimeTaken' 解析为 'element declaration' 组件。 [ant:xjc] line 589 of file:/home/adam/下载/minerl-dev/minerl/MCP-Reborn/src/main/resources/Mission.xsd [ant:xjc] [ant:xjc] [ERROR] src-resolve: 无法将名称 'RewardForCatchingMob' 解析为 'element declaration' 组件。 [ant:xjc] line 590 of file:/home/adam/下载/minerl-dev/minerl/MCP-Reborn/src/main/resources/Mission.xsd [ant:xjc] [ant:xjc] [ERROR] src-resolve: 无法将名称 'RewardForDamagingEntity' 解析为 'element declaration' 组件。 [ant:xjc] line 591 of file:/home/adam/下载/minerl-dev/minerl/MCP-Reborn/src/main/resources/Mission.xsd [ant:xjc] [ant:xjc] [ERROR] src-resolve: 无法将名称 'RewardForDistanceTraveledToCompassTarget' 解析为 'element declaration' 组件。 [ant:xjc] line 592 of file:/home/adam/下载/minerl-dev/minerl/MCP-Reborn/src/main/resources/Mission.xsd [ant:xjc] [ant:xjc] [ERROR] src-resolve: 无法将名称 'ContinuousMovementCommands' 解析为 'element declaration' 组件。 [ant:xjc] line 594 of file:/home/adam/下载/minerl-dev/minerl/MCP-Reborn/src/main/resources/Mission.xsd [ant:xjc] [ant:xjc] [ERROR] src-resolve: 无法将名称 'AbsoluteMovementCommands' 解析为 'element declaration' 组件。 [ant:xjc] line 595 of file:/home/adam/下载/minerl-dev/minerl/MCP-Reborn/src/main/resources/Mission.xsd [ant:xjc] [ant:xjc] [ERROR] src-resolve: 无法将名称 'DiscreteMovementCommands' 解析为 'element declaration' 组件。 [ant:xjc] line 596 of file:/home/adam/下载/minerl-dev/minerl/MCP-Reborn/src/main/resources/Mission.xsd [ant:xjc] [ant:xjc] [ERROR] src-resolve: 无法将名称 'InventoryCommands' 解析为 'element declaration' 组件。 [ant:xjc] line 597 of file:/home/adam/下载/minerl-dev/minerl/MCP-Reborn/src/main/resources/Mission.xsd [ant:xjc] [ant:xjc] [ERROR] src-resolve: 无法将名称 'ChatCommands' 解析为 'element declaration' 组件。 [ant:xjc] line 598 of file:/home/adam/下载/minerl-dev/minerl/MCP-Reborn/src/main/resources/Mission.xsd [ant:xjc] [ant:xjc] [ERROR] src-resolve: 无法将名称 'SimpleCraftCommands' 解析为 'element declaration' 组件。 [ant:xjc] line 599 of file:/home/adam/下载/minerl-dev/minerl/MCP-Reborn/src/main/resources/Mission.xsd [ant:xjc] [ant:xjc] [ERROR] src-resolve: 无法将名称 'NearbyCraftCommands' 解析为 'element declaration' 组件。 [ant:xjc] line 600 of file:/home/adam/下载/minerl-dev/minerl/MCP-Reborn/src/main/resources/Mission.xsd [ant:xjc] [ant:xjc] [ERROR] src-resolve: 无法将名称 'NearbySmeltCommands' 解析为 'element declaration' 组件。 [ant:xjc] line 601 of file:/home/adam/下载/minerl-dev/minerl/MCP-Reborn/src/main/resources/Mission.xsd [ant:xjc] [ant:xjc] [ERROR] src-resolve: 无法将名称 'PlaceCommands' 解析为 'element declaration' 组件。 [ant:xjc] line 602 of file:/home/adam/下载/minerl-dev/minerl/MCP-Reborn/src/main/resources/Mission.xsd [ant:xjc] [ant:xjc] [ERROR] src-resolve: 无法将名称 'EquipCommands' 解析为 'element declaration' 组件。 [ant:xjc] line 603 of file:/home/adam/下载/minerl-dev/minerl/MCP-Reborn/src/main/resources/Mission.xsd [ant:xjc] [ant:xjc] [ERROR] src-resolve: 无法将名称 'MissionQuitCommands' 解析为 'element declaration' 组件。 [ant:xjc] line 604 of file:/home/adam/下载/minerl-dev/minerl/MCP-Reborn/src/main/resources/Mission.xsd [ant:xjc] [ant:xjc] [ERROR] src-resolve: 无法将名称 'TurnBasedCommands' 解析为 'element declaration' 组件。 [ant:xjc] line 605 of file:/home/adam/下载/minerl-dev/minerl/MCP-Reborn/src/main/resources/Mission.xsd [ant:xjc] [ant:xjc] [ERROR] src-resolve: 无法将名称 'HumanLevelCommands' 解析为 'element declaration' 组件。 [ant:xjc] line 606 of file:/home/adam/下载/minerl-dev/minerl/MCP-Reborn/src/main/resources/Mission.xsd [ant:xjc] [ant:xjc] [ERROR] src-resolve: 无法将名称 'PauseCommand' 解析为 'element declaration' 组件。 [ant:xjc] line 607 of file:/home/adam/下载/minerl-dev/minerl/MCP-Reborn/src/main/resources/Mission.xsd [ant:xjc] [ant:xjc] [ERROR] src-resolve: 无法将名称 'CameraCommands' 解析为 'element declaration' 组件。 [ant:xjc] line 608 of file:/home/adam/下载/minerl-dev/minerl/MCP-Reborn/src/main/resources/Mission.xsd [ant:xjc] [ant:xjc] [ERROR] src-resolve: 无法将名称 'AgentQuitFromTimeUp' 解析为 'element declaration' 组件。 [ant:xjc] line 611 of file:/home/adam/下载/minerl-dev/minerl/MCP-Reborn/src/main/resources/Mission.xsd [ant:xjc] [ant:xjc] [ERROR] src-resolve: 无法将名称 'AgentQuitFromReachingPosition' 解析为 'element declaration' 组件。 [ant:xjc] line 612 of file:/home/adam/下载/minerl-dev/minerl/MCP-Reborn/src/main/resources/Mission.xsd [ant:xjc] [ant:xjc] [ERROR] src-resolve: 无法将名称 'AgentQuitFromTouchingBlockType' 解析为 'element declaration' 组件。 [ant:xjc] line 613 of file:/home/adam/下载/minerl-dev/minerl/MCP-Reborn/src/main/resources/Mission.xsd [ant:xjc] [ant:xjc] [ERROR] src-resolve: 无法将名称 'AgentQuitFromCollectingItem' 解析为 'element declaration' 组件。 [ant:xjc] line 614 of file:/home/adam/下载/minerl-dev/minerl/MCP-Reborn/src/main/resources/Mission.xsd [ant:xjc] [ant:xjc] [ERROR] src-resolve: 无法将名称 'AgentQuitFromPossessingItem' 解析为 'element declaration' 组件。 [ant:xjc] line 615 of file:/home/adam/下载/minerl-dev/minerl/MCP-Reborn/src/main/resources/Mission.xsd [ant:xjc] [ant:xjc] [ERROR] src-resolve: 无法将名称 'AgentQuitFromCraftingItem' 解析为 'element declaration' 组件。 [ant:xjc] line 616 of file:/home/adam/下载/minerl-dev/minerl/MCP-Reborn/src/main/resources/Mission.xsd [ant:xjc] [ant:xjc] [ERROR] src-resolve: 无法将名称 'AgentQuitFromSmeltingItem' 解析为 'element declaration' 组件。 [ant:xjc] line 617 of file:/home/adam/下载/minerl-dev/minerl/MCP-Reborn/src/main/resources/Mission.xsd [ant:xjc] [ant:xjc] [ERROR] src-resolve: 无法将名称 'AgentQuitFromReachingCommandQuota' 解析为 'element declaration' 组件。 [ant:xjc] line 618 of file:/home/adam/下载/minerl-dev/minerl/MCP-Reborn/src/main/resources/Mission.xsd [ant:xjc] [ant:xjc] [ERROR] src-resolve: 无法将名称 'AgentQuitFromCatchingMob' 解析为 'element declaration' 组件。 [ant:xjc] line 619 of file:/home/adam/下载/minerl-dev/minerl/MCP-Reborn/src/main/resources/Mission.xsd [ant:xjc] [ant:xjc] [ERROR] src-resolve: 无法将名称 'AbsoluteMovementCommands' 解析为 'element declaration' 组件。 [ant:xjc] line 633 of file:/home/adam/下载/minerl-dev/minerl/MCP-Reborn/src/main/resources/Mission.xsd [ant:xjc] [ant:xjc] [ERROR] src-resolve: 无法将名称 'DiscreteMovementCommands' 解析为 'element declaration' 组件。 [ant:xjc] line 634 of file:/home/adam/下载/minerl-dev/minerl/MCP-Reborn/src/main/resources/Mission.xsd [ant:xjc] [ant:xjc] [ERROR] src-resolve: 无法将名称 'InventoryCommands' 解析为 'element declaration' 组件。 [ant:xjc] line 635 of file:/home/adam/下载/minerl-dev/minerl/MCP-Reborn/src/main/resources/Mission.xsd [ant:xjc] [ant:xjc] [ERROR] src-resolve: 无法将名称 'ChatCommands' 解析为 'element declaration' 组件。 [ant:xjc] line 636 of file:/home/adam/下载/minerl-dev/minerl/MCP-Reborn/src/main/resources/Mission.xsd [ant:xjc] [ant:xjc] [ERROR] src-resolve: 无法将名称 'SimpleCraftCommands' 解析为 'element declaration' 组件。 [ant:xjc] line 637 of file:/home/adam/下载/minerl-dev/minerl/MCP-Reborn/src/main/resources/Mission.xsd [ant:xjc] [ant:xjc] [ERROR] src-resolve: 无法将名称 'MissionQuitCommands' 解析为 'element declaration' 组件。 [ant:xjc] line 638 of file:/home/adam/下载/minerl-dev/minerl/MCP-Reborn/src/main/resources/Mission.xsd [ant:xjc] [ant:xjc] [ERROR] src-resolve: 无法将名称 'FlatWorldGenerator' 解析为 'element declaration' 组件。 [ant:xjc] line 667 of file:/home/adam/下载/minerl-dev/minerl/MCP-Reborn/src/main/resources/Mission.xsd [ant:xjc] [ant:xjc] [ERROR] src-resolve: 无法将名称 'FileWorldGenerator' 解析为 'element declaration' 组件。 [ant:xjc] line 668 of file:/home/adam/下载/minerl-dev/minerl/MCP-Reborn/src/main/resources/Mission.xsd [ant:xjc] [ant:xjc] [ERROR] src-resolve: 无法将名称 'DefaultWorldGenerator' 解析为 'element declaration' 组件。 [ant:xjc] line 669 of file:/home/adam/下载/minerl-dev/minerl/MCP-Reborn/src/main/resources/Mission.xsd [ant:xjc] [ant:xjc] [ERROR] src-resolve: 无法将名称 'BiomeGenerator' 解析为 'element declaration' 组件。 [ant:xjc] line 670 of file:/home/adam/下载/minerl-dev/minerl/MCP-Reborn/src/main/resources/Mission.xsd [ant:xjc] [ant:xjc] [ERROR] src-resolve: 无法将名称 'DrawingDecorator' 解析为 'element declaration' 组件。 [ant:xjc] line 678 of file:/home/adam/下载/minerl-dev/minerl/MCP-Reborn/src/main/resources/Mission.xsd [ant:xjc] [ant:xjc] [ERROR] src-resolve: 无法将名称 'AnimationDecorator' 解析为 'element declaration' 组件。 [ant:xjc] line 679 of file:/home/adam/下载/minerl-dev/minerl/MCP-Reborn/src/main/resources/Mission.xsd [ant:xjc] [ant:xjc] [ERROR] src-resolve: 无法将名称 'MazeDecorator' 解析为 'element declaration' 组件。 [ant:xjc] line 680 of file:/home/adam/下载/minerl-dev/minerl/MCP-Reborn/src/main/resources/Mission.xsd [ant:xjc] [ant:xjc] [ERROR] src-resolve: 无法将名称 'ClassroomDecorator' 解析为 'element declaration' 组件。 [ant:xjc] line 681 of file:/home/adam/下载/minerl-dev/minerl/MCP-Reborn/src/main/resources/Mission.xsd [ant:xjc] [ant:xjc] [ERROR] src-resolve: 无法将名称 'SnakeDecorator' 解析为 'element declaration' 组件。 [ant:xjc] line 682 of file:/home/adam/下载/minerl-dev/minerl/MCP-Reborn/src/main/resources/Mission.xsd [ant:xjc] [ant:xjc] [ERROR] src-resolve: 无法将名称 'MovingTargetDecorator' 解析为 'element declaration' 组件。 [ant:xjc] line 683 of file:/home/adam/下载/minerl-dev/minerl/MCP-Reborn/src/main/resources/Mission.xsd [ant:xjc] [ant:xjc] [ERROR] src-resolve: 无法将名称 'BuildBattleDecorator' 解析为 'element declaration' 组件。 [ant:xjc] line 684 of file:/home/adam/下载/minerl-dev/minerl/MCP-Reborn/src/main/resources/Mission.xsd [ant:xjc] [ant:xjc] [ERROR] src-resolve: 无法将名称 'MarkingDecorator' 解析为 'element declaration' 组件。 [ant:xjc] line 685 of file:/home/adam/下载/minerl-dev/minerl/MCP-Reborn/src/main/resources/Mission.xsd [ant:xjc] [ant:xjc] [ERROR] src-resolve: 无法将名称 'NavigationDecorator' 解析为 'element declaration' 组件。 [ant:xjc] line 686 of file:/home/adam/下载/minerl-dev/minerl/MCP-Reborn/src/main/resources/Mission.xsd [ant:xjc] [ant:xjc] [ERROR] src-resolve: 无法将名称 'RandomizedStartDecorator' 解析为 'element declaration' 组件。 [ant:xjc] line 687 of file:/home/adam/下载/minerl-dev/minerl/MCP-Reborn/src/main/resources/Mission.xsd [ant:xjc] [ant:xjc] [ERROR] src-resolve: 无法将名称 'ServerQuitFromTimeUp' 解析为 'element declaration' 组件。 [ant:xjc] line 695 of file:/home/adam/下载/minerl-dev/minerl/MCP-Reborn/src/main/resources/Mission.xsd [ant:xjc] [ant:xjc] [ERROR] src-resolve: 无法将名称 'ServerQuitWhenAnyAgentFinishes' 解析为 'element declaration' 组件。 [ant:xjc] line 696 of file:/home/adam/下载/minerl-dev/minerl/MCP-Reborn/src/main/resources/Mission.xsd [ant:xjc]

FAILURE: Build failed with an exception.

Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0. Use '--warning-mode all' to show the individual deprecation warnings. See https://docs.gradle.org/6.8.1/userguide/command_line_interface.html#sec:command_line_warnings

BUILD FAILED in 7m 50s 9 actionable tasks: 9 executed Traceback (most recent call last): File "/home/adam/下载/minerl-dev/setup.py", line 214, in prep_mcp() File "/home/adam/下载/minerl-dev/setup.py", line 198, in prep_mcp subprocess.check_call('{} clean build shadowJar'.format(gradlew).split(' '), cwd=workdir) File "/home/adam/miniconda3/envs/minerl/lib/python3.9/subprocess.py", line 373, in check_call raise CalledProcessError(retcode, cmd) subprocess.CalledProcessError: Command '['./gradlew', 'clean', 'build', 'shadowJar']' returned non-zero exit status 1. (minerl) adam@adam-Lenovo-Legion-R7000-2020:~/下载/minerl-dev$

OopsYouDiedE commented 2 years ago

i tried to install with pip+git but fall and then tried to install with python setup.py and the last one is the output.

OopsYouDiedE commented 2 years ago

and the one before is the output with pip+git

Miffyli commented 2 years ago

If the error contains ":downloadAssets failed", then try running the installation again. This happens at times, but usually works out on the second or third time. python setup.py probably will fail (and you will have to clone a fresh repository, as the code changes stuff in-place 😅 ). Use pip install . if you want to install from a locally cloned repository.