I tried running the file lmdb.py at first but it turned out there was an error with the lmdb.
After a while, I thought I solved the problem so I tried importing lmdb in the terminal.
However, it gave me this output.
neil@LENIUM:~/Documents$ python3
Python 3.5.2 (default, Nov 17 2016, 17:05:23)
[GCC 5.4.0 20160609] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import lmdb
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/neil/Documents/lmdb.py", line 22, in <module>
env = lmdb.open('train', map_size=map_size)
AttributeError: module 'lmdb' has no attribute 'open'
Why did this happen? I wasn't even trying to run lmdb.py. I tried removing the file and it still didn't work.