Lightning-Universe / Pose-app

A Lightning app for animal pose estimation.
https://pose-app.readthedocs.io/
Apache License 2.0
18 stars 1 forks source link

suddenly cant launch app from terminal #80

Closed DavidGill159 closed 5 months ago

DavidGill159 commented 5 months ago

Hi, the last week I have been running lighning-pose training locally from the terminal. Today I need to launch the app to label some more data but I am met with this error. Nothing has changed since the last time I launched the app so I am a bit confused.

any help would be much appreciated!

image

themattinthehatt commented 5 months ago

Did you type "Yes" to the prompt "There is a new version of Lightning, would you like to update?" That is a prompt for the Lightning backend, not our specific app. We are working on updating things on our end to be compatible with the changes, but we're not there yet. In the meantime you can downgrade lightning and should be able to run the app as before:

pip install lightning[app]==2.1.3
DavidGill159 commented 5 months ago

hi, no that prompt did not appear this time. Should I install that within the pose-app directory? After doing so I get this error: image

themattinthehatt commented 5 months ago

hmm :thinking: were you previously using a conda environment? that ModuleNotFoundError could pop up if you initially installed the app in a conda env, but then tried to run the app outside of the conda env

DavidGill159 commented 5 months ago

ah your right, how silly of me. I should be in my environment yes. However, I assume now by installing the app outside the environment I have complicated things a bit? i.e. resulting in this error... image

themattinthehatt commented 5 months ago

sorry we've been adding some more features - you can run

pip install ensemble-kalman-smoother

and should take care of that (also in the conda env!)