h5py not running outside of anaconda/ IDE


#1

Hi there,

I was wondering if anyone had an issue running their python script outside of IDE if h5py is imported in the script? What is the appropriate workaround?

thanks,
Florence


#2

Hi Florence, it’s most likely that when you run your code outside your IDE, you’re using a different environment or a different Python installation from the one you use inside the IDE

It’s hard to provide specific guidance, but in general: work out which Python environment your IDE runs, and then figure out how to use that in the terminal (or wherever you’re trying to run it).