Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No module named voyager.utils #171

Open
Rypex opened this issue Sep 27, 2024 · 1 comment
Open

No module named voyager.utils #171

Rypex opened this issue Sep 27, 2024 · 1 comment

Comments

@Rypex
Copy link

Rypex commented Sep 27, 2024

Briefly describe your issue

I have successfully completed the setup without errors. After I fixed the Prismarine bug. I created the Python file with mc_port and specified the API key. Now I get the following error:

C:\Users\rypex\Desktop\Voyager-main\voyager>Python3 1.py
Traceback (most recent call last):
File "C:\Users\rypex\Desktop\Voyager-main\voyager\1.py", line 1, in
from voyager import Voyager
File "C:\Users\rypex\Desktop\Voyager-main\voyager\voyager.py", line 7, in
import voyager.utils as U
ModuleNotFoundError: No module named 'voyager.utils'; 'voyager' is not a package

Please provide your python, nodejs, Minecraft, and Fabric versions here

Python 3.9.13 NodeJS 22.9.0

@Rypex
Copy link
Author

Rypex commented Sep 27, 2024

that is the simple code is used:

from voyager import Voyager

openai_api_key = "KEY is entered"

voyager = Voyager(
mc_port=Port is entered,
openai_api_key=openai_api_key,
)

voyager.learn()

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant