Voyager Ai Package Dependency Errors
October, 2025
For my Minecraft Utilitarian Ethics projects I'm exploring existing LLM-based Minecraft agents. From what I can find, Voyager AI is currently the highest performing. I cloned the GitHub repo and followed the installation instructions, but I had to go through a few extra steps:
The first issue was a missing library, this was an elementary problem. I found the PyPi page for langchain_community, and pip installed the package.
ModuleNotFoundError: No module named 'langchain_community'
pip install langchain-community
The second issue was along very similar lines, but it was even simpler because the message told me what to install:
ImportError: Could not import chromadb python package. Please install it with `pip install chromadb`.
pip install chromadb
The last package error was related to package versions:
ImportError: cannot import name 'model_validator' from 'pydantic'
I found a stackoverflow thread that mentioned downgrading pydantic to 1.9 would fix this error.
pip install pydantic==1.9
And it did, but then a had some other packages that were not so happy:
pydantic-settings 2.11.0 requires pydantic>=2.7.0, but you have pydantic 1.9.0 which is incompatible.
langchain 0.3.27 requires pydantic<3.0.0,>=2.7.4, but you have pydantic 1.9.0 which is incompatible.
langchain-core 0.3.79 requires pydantic<3.0.0,>=2.7.4, but you have pydantic 1.9.0 which is incompatible.
The main issue was that within the requirements.txt file, chromadb had a version specified:
chromadb==0.3.29
It's the only package with a specific version, but I couldn't fix these package errors without upgrading chromadb to the latest version.
Here's my new requirements.txt file with the exact versions that are working on my machine.
aiohappyeyeballs==2.6.1
aiohttp==3.13.0
aiosignal==1.4.0
annotated-types==0.7.0
anyio==4.11.0
async-timeout==4.0.3
attrs==25.4.0
backoff==2.2.1
bcrypt==5.0.0
build==1.3.0
cachetools==6.2.0
cchardet==2.1.7
certifi==2025.10.5
chardet==5.2.0
charset-normalizer==3.4.3
chromadb==1.1.1
click==8.3.0
clickhouse-connect==0.9.2
cloudpickle==3.1.1
coloredlogs==15.0.1
dataclasses-json==0.6.7
distro==1.9.0
duckdb==1.4.1
durationpy==0.10
exceptiongroup==1.3.0
Farama-Notifications==0.0.4
fastapi==0.85.1
filelock==3.20.0
flatbuffers==25.9.23
frozenlist==1.8.0
fsspec==2025.9.0
google-auth==2.41.1
googleapis-common-protos==1.70.0
grpcio==1.75.1
gymnasium==1.2.1
h11==0.16.0
hf-xet==1.1.10
hnswlib==0.8.0
httpcore==1.0.9
httptools==0.7.1
httpx==0.28.1
httpx-sse==0.4.3
huggingface-hub==0.35.3
humanfriendly==10.0
idna==3.10
importlib_metadata==8.7.0
importlib_resources==6.5.2
javascript==1!1.2.6
jiter==0.11.0
jsonpatch==1.33
jsonpointer==3.0.0
jsonschema==4.25.1
jsonschema-specifications==2025.9.1
kubernetes==34.1.0
langchain==0.3.27
langchain-community==0.3.31
langchain-core==0.3.79
langchain-text-splitters==0.3.11
langsmith==0.4.34
lz4==4.4.4
markdown-it-py==4.0.0
marshmallow==3.26.1
mdurl==0.1.2
minecraft-launcher-lib==7.1
mmh3==5.2.0
mpmath==1.3.0
multidict==6.7.0
mypy_extensions==1.1.0
numpy==1.26.4
oauthlib==3.3.1
onnxruntime==1.23.1
openai==2.3.0
opentelemetry-api==1.37.0
opentelemetry-exporter-otlp-proto-common==1.37.0
opentelemetry-exporter-otlp-proto-grpc==1.37.0
opentelemetry-proto==1.37.0
opentelemetry-sdk==1.37.0
opentelemetry-semantic-conventions==0.58b0
orjson==3.11.3
overrides==7.7.0
packaging==24.2
pandas==2.3.3
posthog==5.4.0
propcache==0.4.1
protobuf==6.32.1
psutil==7.1.0
pulsar-client==3.8.0
pyasn1==0.6.1
pyasn1_modules==0.4.2
pybase64==1.4.2
pydantic==2.12.0
pydantic-settings==2.11.0
pydantic_core==2.41.1
Pygments==2.19.2
PyPika==0.48.9
pyproject_hooks==1.2.0
python-dateutil==2.9.0.post0
python-dotenv==1.1.1
pytz==2025.2
PyYAML==6.0.3
referencing==0.36.2
regex==2025.9.18
requests==2.32.5
requests-oauthlib==2.0.0
requests-toolbelt==1.0.0
rich==14.2.0
rpds-py==0.27.1
rsa==4.9.1
shellingham==1.5.4
six==1.17.0
sniffio==1.3.1
SQLAlchemy==2.0.44
starlette==0.20.4
sympy==1.14.0
tenacity==8.5.0
tiktoken==0.12.0
tokenizers==0.22.1
tomli==2.3.0
tqdm==4.67.1
typer==0.19.2
typing-inspect==0.9.0
typing-inspection==0.4.2
typing_extensions==4.15.0
tzdata==2025.2
urllib3==2.3.0
uvicorn==0.37.0
uvloop==0.21.0
-e git+https://github.com/MineDojo/Voyager@55e45a880755d0c8c66ca7fb5fe7962ac8974f89#egg=voyager
watchfiles==1.1.0
websocket-client==1.9.0
websockets==15.0.1
yarl==1.22.0
zipp==3.23.0
zstandard==0.25.0
With all this fixed, the bot began to join my Minecraft game. But it continuously ran a hard reset and did not join back into the world.
Looking at the logs, I found:
Mineflayer detected that you are using a deprecated event (physicTick)! Please use this event (physicsTick) instead.
I then replaced every instance of physicTick
in the codebase with physicsTick
and now the agent is working!
📖 1 completions