710.00 c
Description: This research paper covers minecraft npc that combined mindedojo and voyger. So this agent can learn new tasks by ordering human feedback..
#700#Research_Paper#710#methodology#710.00#Multi-agent_Reinforcement_Learning#710.00 c#Creative-Agents
When I got install pip package error name like distutils
error log
ModuleNotFoundError: No module named 'distutils.command'
solution
sudo apt-get install python<your version>-distutils
Minedojo gym error
Error
# [pip: 'extras_require' must be a dictionary whose values are strings or lists of strings containing valid project/version requirement specifiers](https://stackoverflow.com/questions/77124879/pip-extras-require-must-be-a-dictionary-whose-values-are-strings-or-lists-of)
1. `pip install setuptools==65.5.0 pip==21 # gym 0.21 installation is broken with more recent versions`
2. `pip install wheel==0.38.0`
Minedojo
첫시도 환경 ubuntu 22.04 WSL from Window
Validation error
sudo python scripts/validate_install.py
Error log
* What went wrong:
A problem occurred configuring root project 'Minecraft'.
> Could not resolve all artifacts for configuration ':classpath'.
> Could not find com.github.SpongePowered:MixinGradle:dcfaf61.
Searched in the following locations:
Solution
해당 주소의 파일이 없는게 문제. 갑자기 사라진거같음
유사 해결사례를 통해 시도. 자체적으로 원래 돼야할 파일을 올려놓은거같음
https://github.com/microsoft/malmo/issues/942
git clone 후 minedojo/sim/malmo/Minecraft/build.gradle
수정
수정후 의존성 다시 업데이트. 다만 아직 문법이해가 안돼서 어려운점있음
- 먼저 modifedminedojo의 root directory 다운로드 받기
- build.gradle 수정 맨처음 나오는 repositories와 60줄즈음의 classpath수정
minedojo/sim/malmo/Minecraft/
에서 gradle 실행 권한 준 다음chmod +X gradle
다음의 명령어 수행
sudo ./gradlew clean build --refresh-dependencies
Gradle clean error, execute by sudo
error log
...
* What went wrong:
Could not create service of type ScriptPluginFactory using BuildScopeServices.createScriptPluginFactory().
> Could not create service of type FileHasher using BuildSessionScopeServices.createFileSnapshotter().
...
Still if you get error maven path error maven package
> Could not find MixinGradle-dcfaf61:MixinGradle:dcfaf61.
Before using url path
maven {
url 'file:///home/ubuntu/MineDojo/MixinGradle-dcfaf61/MixinGradle/dcfaf61'
}
Solution after remove as is path, and change it to flat Dir
:mixingradle:0.6-SNAPSHOT'){ // 0.#
flatDir {
dirs '/home/ubuntu/MineDojo/MixinGradle-dcfaf61/MixinGradle/dcfaf61'
}
근데 그래도 다음문제 생김. 권한에러
raise child_exception_type(errno_num, err_msg, err_filename) PermissionError: [Errno 13] Permission denied: '/tmp/tmp6zkikl_p/Minecraft/launchClient.sh'
### Change apt package name from vnc4server to tigervnc-standalone-server
Execute command
`sudo apt install vnc4server -y`
Error log
`E: Package 'vnc4server' has no installation candidate`
solution-> change package name
`sudo apt install tigervnc-standalone-server -y`
### What is MixinGradle
>MixinGradle is **a Gradle plugin which simplifies the build-time complexity of working with the SpongePowered Mixin framework for Java**.
### What is `Malmo`
> Project Malmo is a platform for Artificial Intelligence experimentation and research built on top of Minecraft. We aim to inspire a new generation of research into challenging new problems presented by this unique environment.
# minedojo found not SpongePowered
repositories {
maven { url 'https://repo.spongepowered.org/repository/maven-public/' }
}
dependencies {
classpath('org.spongepowered6
// Because forgegradle requires 6.0 (not -debug-all) while mixingradle depends on 5.0
// and putting mixin right here will place it before forge in the class loader
exclude group: 'org.ow2.asm', module: 'asm-debug-all'
}
??? sudo apt-get install python3.10-dev build-essential
Node
Download Node 18 in ubuntu 20.04
You need restart after download it
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.3/install.sh | bash
# Restart
nvm install 18
npx tsc error
with this code
Install for [ 'tsc@latest' ] failed with code 1
solution
npm install --save-dev typescript
===
Voyger
fabric
- mod1
- mod2
- mod3
- mod4
- mod5
- gradle error incorrect JAVA_HOME
Gradle build error
A problem occurred evaluating project ':common'.
> Failed to apply plugin 'fabric-loom'.
> You are using an outdated version of Java (8). Java 17 or higher is required.