Giter Site home page Giter Site logo

Comments (6)

xieleo5 avatar xieleo5 commented on August 15, 2024 1

Hi, @rasterize-art Thank you for your interest in this project! Regarding the Java compilation, you might consider using gradlew build instead of gradle build. When you use gradle build, it utilizes the locally installed Gradle version on your computer, which may not be the correct one. In the repository, there should be a file called gradlew—simply execute that to successfully build the mod.
Regarding the python installation. How did you install the package? You should use pip install -e . under the main folder and then you should be able to import Voyager

from voyager.

youmustfight avatar youmustfight commented on August 15, 2024

For the first, your Java Runtime Environment may not be the right version, I had to install v17 to get the build to work.

For the second question, you can do the mc_port param instead even though advise against that because you can get stuck in endless loops.

voyager = Voyager(
    # azure_login=azure_login,
    mc_port=12345, # <- whatever port integer that gets displayed when you open to LAN
    openai_api_key=openai_api_key
)

Also, be sure after you've started the server and you're opening it to LAN, to keep that option on 'Survival'. I set it to creative mode as well at first but then items didn't drop when the bot broke trees/stone/etc.

from voyager.

rasterize-art avatar rasterize-art commented on August 15, 2024

Thank you for both! I tried updating the runtime and I pasted the issue into GPT-4 and it said i need to update the shadowJar function in build.gradle file i was having errors with to the following:

shadowJar {
    configurations = [project.configurations.shadow]
    archiveClassifier.set('shadow-dev')
    relocate 'de.maxhenkel.configbuilder', "de.maxhenkel.betterrespawn.configbuilder"
}

After doing so and ensuring I have the right version installed of the installer, it worked!

Now having issues actually running the python script because it keeps telling me voyager isn't installed even though i had gone through the initial set up. Any tips there?

from voyager.

Anonym0us33 avatar Anonym0us33 commented on August 15, 2024

I had to use 3 f'ing gpt4 copilot calls to get this solved plus a bunch of regular perplexity calls. Now I can't use gpt4 for another 4 hours but it solved itself.

basically install jdk17 and use set JAVA_HOME=C:\Program Files\Java\jdk-17\
but also input C:\Program Files\Java\jdk-17\bin to my %PATH%
I didn't need help doing that but you can ask gpt/google sensei if you need reminding.

The first 2 times it just gave java errors. Then after the 3rd time restarting cmd it gave the green message. After that I just changed the fabric version from fabric-loader-0.14.21-1.19.4 to fabric-loader-0.14.21-1.19 by re-running the .exe

now I'm getting errors when running
voyager = Voyager( mc_port = mc_port ,
openai_api_key=openai_api_key)
voyager.learn()
warnings.warn(f"Subprocess {self.name} failed to start.")

from voyager.

github-actions avatar github-actions commented on August 15, 2024

This issue is stale because it has been open for 30 days with no activity.

from voyager.

github-actions avatar github-actions commented on August 15, 2024

This issue was closed because it has been inactive for 14 days since being marked as stale.

from voyager.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.