Open KaiserArndt2 opened 4 months ago
Hi @KaiserArndt2 !
What version of python image library do you see when you do pip show pillow
?
Rather than python version 3.11.7, how does it look if you use python 3.6 (recommended), python 3.9 or python 3.10 (if necessary)?
If you stay in python 3.11.7, if you do pip install pillow=10.3.0
, and then try to restart simba with simba
, how does it look?
Hi @sronilsson,
Thank you for the quick reply, I was running in 10.2.0 after running pip show pillow
(below photo).
While still in this version I attempted to run the suggested pip install pillow=10.3.0
. However simba still didn't open giving these errors.
I also attempted to revert back to python version 3.6 and run simba. This didn't work either giving the following errors as well.
I didn't try reinstalling simba after any of these attempts, not sure if it would matter. Is this something I should try?
Thanks for the help!
Hello @KaiserArndt2 - thanks for testing this.
In your first screengrab, I see that you are in base
(outside of the simba conda environment) and there you have Pillow 10.2.1.
Just to check - when you installed Pillow 10.3.0, did you install it in that base environment, or did you do it in the simba environment after running conda activate simba
?
If you are in Python 3.6, then SimBA should use Pillow 8.3.2 rather than 10.3.0 (I know.. versions can be messy).
If you are in python 3.6, which version of pillow do you see if you do pip show pillow
? If you do, pip install pillow==8.3.2
in simba python 3.6 followed by simba
, does that help?
PS. I have these two lines in the simba python requirements for when you do pip install simba-uw-tf-dev
to pair different pillow versions to the python version the user is comming from:
Pillow==8.3.2; python_version=="3.6"
Pillow==10.3.0; python_version>="3.9"
....
Hi @sronilsson,
I was running in base apparently. But in the simba environment I was on pillow 10.4.0. I tried changing the pillow to 8.3.2 as you suggested. This gave additional errors, but said it installed correctly (image below).
Attempting to run simba gave new and different errors.
Got it, there seems to be some tangles in the dependencies... almost there I think :)
What if you:
i) create a brand new python 3.6 conda environment,
ii) and then pip install simba-uw-tf-dev
,
iii) then confirm that you have pillow 8.3.2 with pip show pillow
, if you dont have it: install it with pip install pillow==8.3.2
.
iv) launch simba with simba
?
Ok thank you! I got simba to open. Though I got a message saying ffmpeg is not installed, is this important for fully running simba?
Thank you for the help, I got everything launching without error. But, now when I am making a 'test' project I am getting the following errors when I click the 'create project config' button. The project specifications are in the image bellow. The folder is within a DeepLabCut project folder I have. These are the exact inputs I had before hitting the button.
Thanks @KaiserArndt2 - I tried to fill in the form just like you, but it ran.. do you see any error messages in the Main SimBA terminal GUI?
... PS. which version of SImBA do you have?
Weird, I just relaunched SimBA and did the exact same things and it worked. So not sure what happened.
Weird, I just relaunched SimBA and did the exact same things and it worked. So not sure what happened.
I followed this conversion and it helped me to come to a point where launching simba resulted in a brief popup of the SimBA logo which then disappeared. I am new to this and wonder which point I missed.
Hi @tknopfel ! After the splash screen / pop-up, do you see any error messages / messages in the terminal from where you launched Simba?
... and what Simba version do you see, if you type pip show simba-uw-tf-dev
in the terminal?
Hello Simon,
Thanks for prompt reply. The below screenshot shows the terminal messages. Not sure it the last is a error message but it indicates that something is missing. There is no directory “/lib/” under the environement.
Thomas
From: Simon Nilsson @.> Sent: Sunday, July 28, 2024 8:10 PM To: sgoldenlab/simba @.> Cc: tknopfel @.>; Mention @.> Subject: Re: [sgoldenlab/simba] Simba not running after install (Issue #375)
Hi @tknopfel https://github.com/tknopfel ! After the splash screen / pop-up, do you see any error messages / messages in the terminal from where you launched Simba?
— Reply to this email directly, view it on GitHub https://github.com/sgoldenlab/simba/issues/375#issuecomment-2254496054 , or unsubscribe https://github.com/notifications/unsubscribe-auth/ANXXHSQ32B62PP5G5HE3EPLZOTNRNAVCNFSM6AAAAABLKZRA6SVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENJUGQ4TMMBVGQ . You are receiving this because you were mentioned. https://github.com/notifications/beacon/ANXXHSSPNYKSO76TRBK4DT3ZOTNRNA5CNFSM6AAAAABLKZRA6SWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTUGMDQTM.gif Message ID: @. @.> >
…Version 1.98.9
From: Simon Nilsson @.> Sent: Sunday, July 28, 2024 8:14 PM To: sgoldenlab/simba @.> Cc: tknopfel @.>; Mention @.> Subject: Re: [sgoldenlab/simba] Simba not running after install (Issue #375)
... and what Simba version do you see, if you type pip show simba-uw-tf-dev in the terminal?
— Reply to this email directly, view it on GitHub https://github.com/sgoldenlab/simba/issues/375#issuecomment-2254497366 , or unsubscribe https://github.com/notifications/unsubscribe-auth/ANXXHSVCD5MGFVVEV62RYP3ZOTOAPAVCNFSM6AAAAABLKZRA6SVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENJUGQ4TOMZWGY . You are receiving this because you were mentioned. https://github.com/notifications/beacon/ANXXHSRS3GC5P4CKATYLPI3ZOTOAPA5CNFSM6AAAAABLKZRA6SWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTUGMDTFM.gif Message ID: @. @.> >
Thanks @tknopfel - do you have a screenshot or a copy paste of the error message that includes the lib part? It would be helpful to dig where the error comes from.
Thanks, below is what I see on the terminal. No red lines/error: But: "C:\Users\tknopfel\AppData\Local\anaconda3\envs\simbaennew\lib\enum.py" does not exist in my environment", if that matters
(simbaennew) C:\Users\tknopfel>simba
Traceback (most recent call last):
File "C:\Users\tknopfel\AppData\Local\anaconda3\envs\simbaennew\lib\runpy.py", line 193, in _run_module_as_main
"main", mod_spec)
File "C:\Users\tknopfel\AppData\Local\anaconda3\envs\simbaennew\lib\runpy.py", line 85, in _run_code
exec(code, run_globals)
File "C:\Users\tknopfel\AppData\Local\anaconda3\envs\simbaennew\Scripts\simba.exe__main.py", line 7, in
@tknopfel - yeah I'm not sure what it is doing looking in the lib
directory.. there is no lib
directory in SimBA.
I haven't seen this before, one possibility is that it downloaded on your end at the very same time an update was pushed to SimBA perhaps?
If you uninstall simba with pip uninstall simba-uw-tf-dev
followed by installing it again with pip install simba-uw-tf-dev
, how does it run then?
@.***> @sgoldenlab/simba
Thank you very much!
Successfully uninstalled Simba-UW-tf-dev-1.98.9
Successful installed Simab-UW-tf-dev-1.99.3
So far so good; simba shows up
From: Simon Nilsson @.> Sent: Monday, July 29, 2024 7:54 PM To: sgoldenlab/simba @.> Cc: tknopfel @.>; Mention @.> Subject: Re: [sgoldenlab/simba] Simba not running after install (Issue #375)
@tknopfel https://github.com/tknopfel - yeah I'm not sure what it is doing looking in the lib directory.. there is no lib directory in SimBA.
I haven't seen this before, one possibility is that it downloaded on your end at the very same time an update was pushed to SimBA perhaps?
If you uninstall simba with pip uninstall simba-uw-tf-dev followed by installing it again with pip install simba-uw-tf-dev, how does it run then?
— Reply to this email directly, view it on GitHub https://github.com/sgoldenlab/simba/issues/375#issuecomment-2255731160 , or unsubscribe https://github.com/notifications/unsubscribe-auth/ANXXHSV4V32Y6XAXNKFKOXDZOYUPHAVCNFSM6AAAAABLKZRA6SVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENJVG4ZTCMJWGA . You are receiving this because you were mentioned. https://github.com/notifications/beacon/ANXXHSQXSWVJGZM534N4UU3ZOYUPHA5CNFSM6AAAAABLKZRA6SWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTUGOO45Q.gif Message ID: @. @.> >
Describe the bug I just finished installing simba in anaconda. I tried running simba in the command line and got these errors and simba won't open. I am not sure what to do from here.
Screenshots
Desktop (please complete the following information):