twoolie / NBT

Python Parser/Writer for the NBT file format, and it's container the RegionFile.
MIT License
362 stars 74 forks source link

Unable to use this package #129

Open alex4200 opened 5 years ago

alex4200 commented 5 years ago

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 commented 5 years ago

It's now nbt.nbt.NBTFile