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

Unable to use this package #129

Open
alex4200 opened this issue Aug 1, 2019 · 1 comment
Open

Unable to use this package #129

alex4200 opened this issue Aug 1, 2019 · 1 comment

Comments

@alex4200
Copy link

alex4200 commented Aug 1, 2019

I tried to use this package in the following way:

import nbt
nbtfile = nbt.NBTFile("r.1.1.mca",'rb')

but got an error

AttributeError: module 'nbt' has no attribute 'NBTFile'

Maybe I need to install this package? If so, how?

@matcool
Copy link

matcool commented Aug 4, 2019

It's now nbt.nbt.NBTFile

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