toolsforexperiments / plottr

A flexible plotting and data analysis tool.
https://github.com/toolsforexperiments/plottr
MIT License
46 stars 55 forks source link

Failing to run plottr-inspectr with AttributeError: module 'h5py' has no attribute 'File' #366

Closed jpdehollain closed 1 year ago

jpdehollain commented 1 year ago

I just installed plottr using conda, when I try to run plottr-inspectr I get the error mentioned in the title. See screenshot of the error below: image

jpdehollain commented 1 year ago

Never mind, I had a mix-up with my installs. After reinstalling on a new env everything worked fine.

abel-hugot commented 1 year ago

Hi! What exactly was the problem with your installs? I get the same error in a conda environment with only qcodes and plottr installed. I tried reinstalling in new environments like you did but that does not seem to fix the issue.

jpdehollain commented 1 year ago

Hi! What exactly was the problem with your installs? I get the same error in a conda environment with only qcodes and plottr installed. I tried reinstalling in new environments like you did but that does not seem to fix the issue.

I think the my original problem was that I had already installed plottr with pip and had forgotten, then I installed it again with conda. In any case, after starting from a clean environment, I ran pip install qcodes, then pip install plottr[PyQt5], and then it worked fine.