Mineflayer Python - No Module Error While Requiring Pathfinder #3473
Labels
possible bug
Stage1
just created by someone new to the project, we don't know yet if it deserves an implementation / a f
Versions
Detailed description of a problem
Everytime i try to require "mineflayer-pathfinder", i get this error: 🌉 Error [ERR_MODULE_NOT_FOUND]: Cannot find package 'mineflayer-pathfinder' imported from C:\Users\umbal\AppData\Local\Programs\Python\Python312\Lib\site-packages\javascript\js\deps.js
But I HAVE the mineflyer-pathfinder and its version is 2.4.5. BTW I am using the python version of mineflayer
What did you try yet?
I tried reinstalling both node and nvm, test it out in another version of minecraft, etc.
Your current code
from javascript import require, On, Once, AsyncTask, once, off
import random, time
mineflayer = require('mineflayer')
pathfinder = require('mineflayer-pathfinder')
Expected behavior
I want this problem to be solved ASAP.
The text was updated successfully, but these errors were encountered: