Closed gschlafly closed 1 year ago
Note: These attempts are made on a Windows OS.
I created a new conda environment. I used the following command to install napari along with the napari-LF plugin.
pip install git+https://github.com/PolarizedLightFieldMicroscopy/napari-LF.git@NeuralNets_integration2
napari successfully opens with only the warning message of However, the napari-LF plugin fails to open when selected from the dropdown menu. Below is the output in the napari debugger.
Potential cause: Another package might need to be included in the setup.cfg file
I'm a little confused with this issue. If this was a new napari installation, didn't it install the latest QT lib which should be >=5.12.3 and not 5.9.7 ? Does updating the QT lib to the recommended version change any messages ?
BTW, the last error message probably is numpy related. I had to downgrade numpy to 1.21 since the latest (1.23) was giving issues.
Tried a clean conda installation and was still getting our plugin disabled at startup and no way to enable it. Finally, the following did the trick:
In napari console:
from napari.settings import SETTINGS
SETTINGS.reset()
Restart napari
PS: still need to downgrade numpy==1.23.5 (https://github.com/PolarizedLightFieldMicroscopy/LFAnalyze-fundamentals/issues/3)
Numpy issues have (most likely) been resolved. The non-Neural Net files in the lfa folder can be replaced by those in the numpy branch.
When opening napari, I get the following error message even after a new installation. Some information seems to be saving in to the environment. I am going to try opening napari into a new virtual environment.