IMPORTERROR: sys.meta_path tidak ada, python kemungkinan ditutup

Try adding 
env.close() 
or
env.env.close()
at the end of your programs
Yawning Yak