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

FileNotFoundError while running example.py using Python. #900

Open
Christian-806 opened this issue Aug 6, 2024 · 1 comment
Open

FileNotFoundError while running example.py using Python. #900

Christian-806 opened this issue Aug 6, 2024 · 1 comment

Comments

@Christian-806
Copy link

After downloading the python-minecraft-data-master folder and activating the example.py file, there is an error shown below.

Traceback (most recent call last): File "c:/Users/Student/Documents/DataPacks/_helper/python-minecraft-data-master/example.py", line 3, in <module> mcd = minecraft_data("1.13") File "c:\Users\Student\Documents\DataPacks\_helper\python-minecraft-data-master\minecraft_data\__init__.py", line 12, in __call__ return type(version, (object,), convert(_dir, version, edition)) File "c:\Users\Student\Documents\DataPacks\_helper\python-minecraft-data-master\minecraft_data\tools.py", line 7, in convert with open(os.path.join(_dir, 'dataPaths.json')) as f: FileNotFoundError: [Errno 2] No such file or directory: 'c:\\Users\\Student\\Documents\\DataPacks\\_helper\\python-minecraft-data-master\\minecraft_data\\data/data/dataPaths.json'

I also tried pip install minecraft_data and it did not fix the problem.

@extremeheat
Copy link
Member

You should post this issue to https://github.com/SpockBotMC/python-minecraft-data

This repo only holds data.

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

2 participants