Comments (21)
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?
from simba.
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!
from simba.
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"
....
from simba.
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.
from simba.
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
?
from 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?
from simba.
Great, yeah I would get it installed - ffmpeg is very useful and SimBA uses it to perform visualizations and create videos.
There are some inttructions if you google, e.g., HERE or HERE
from 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.
from simba.
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?
from simba.
... PS. which version of SImBA do you have?
from simba.
Weird, I just relaunched SimBA and did the exact same things and it worked. So not sure what happened.
from simba.
Weird, I just relaunched SimBA and did the exact same things and it worked. So not sure what happened.
#open-source :)
from simba.
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.
from simba.
Hi @tknopfel ! After the splash screen / pop-up, do you see any error messages / messages in the terminal from where you launched Simba?
from simba.
... and what Simba version do you see, if you type pip show simba-uw-tf-dev
in the terminal?
from simba.
from simba.
from simba.
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.
from simba.
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
File "C:\Users\tknopfel\AppData\Local\anaconda3\envs\simbaennew\lib\site-packages\simba\SimBA.py", line 1098, in main
app = App()
File "C:\Users\tknopfel\AppData\Local\anaconda3\envs\simbaennew\lib\site-packages\simba\SimBA.py", line 936, in init
self.txt.tag_configure(TagNames.GREETING.value, justify="center", foreground="blue", font=Formats.FONT_LARGE.value)
File "C:\Users\tknopfel\AppData\Local\anaconda3\envs\simbaennew\lib\enum.py", line 326, in getattr
raise AttributeError(name) from None
AttributeError: FONT_LARGE
from simba.
@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?
from simba.
from simba.
Related Issues (20)
- Using Random forest behavioral classifiers from OSF repository HOT 26
- Trouble installing simba HOT 26
- Determination of classifier thresholds HOT 1
- Should preprocessed videos be those used in SLEAP? HOT 1
- Remapping keyboard shortcuts for behavior annotation. HOT 9
- New to simba - installation not working on Mac M2 Max HOT 37
- Plotly Interface is not available HOT 3
- Video Parameters Opening Black Frames HOT 14
- Import DLC data button missing HOT 7
- Installation of simba error HOT 1
- ROI Analysis missing columns after update. HOT 7
- Error when installing Simba on Python 3.10 HOT 30
- When I import the DLC data, it gives an error HOT 3
- Question about CSV files HOT 6
- No Behaviors Marked as None? HOT 13
- Error in "Import MARS Annotation" HOT 12
- Cannot load tracking files HOT 1
- Attribute error during training HOT 4
- Extracting Features "numba.core.errors.UnsupportedRewriteError: Failed in nopython mode pipeline (step: convert to parfors) Only constant step size of 1 is supported for prange" HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from simba.