Open charithaomprakash opened 3 years ago
Hello @charithaomprakash! This was a bug in earlier versions of SimBA - can you try to update SimBA and see if the error disappears? Try either pip install simba-uw-tf-dev --upgrade
or pip install simba-uw-tf == 0.83.6
and let me know how it goes.
Hello @sgoldenlab, thank you for the quick response. I tried updating SimBA and the error still appears. I also tried installing pip install simba-uw-tf == 0.83.6, unfortunately I still get the same error.
Here is the error message:
(SimBA) compraka@compute01:~$ simba
Exception in Tkinter callback
Traceback (most recent call last):
File "/home/compraka/anaconda3/envs/SimBA/lib/python3.7/tkinter/init.py", line 1702, in call
return self.func(args)
File "/home/compraka/anaconda3/envs/SimBA/lib/python3.7/site-packages/simba/SimBA.py", line 3435, in
And here is the version infor for SimBA: Name: Simba-UW-tf-dev Version: 0.83.6 Summary: Toolkit for computer classification of complex social behaviors in experimental animals Home-page: https://github.com/sgoldenlab/simba Author: Simon Nilsson, Jia Jie Choong, Nastacia Goodwin, Sophia Hwang, Sam Golden Author-email: goldenneurolab@gmail.com License: GNU Lesser General Public License v3 (LGPLv3) Location: /home/compraka/anaconda3/envs/SimBA/lib/python3.7/site-packages
Thanks for reporting @charithaomprakash - I will look into it. Can you check one more thing before? This could potentially happen if you have multiple versions of SimBA installed. In you SimBA environment, could you try pip show simba-uw-tf
and make sure nothing is printed?
@charithaomprakash, using python 3.6 will solve your issue.
@charithaomprakash, using python 3.6 will solve your issue.
I am experiencing the same issue on python 3.6.13. I have also ran the update on simba, still nothing. Are there any other solutions? I have created a new environment several times with a fresh install to no avail.
@cameronotto , Try using python 3.6.8 or 3.6.10 and see if it will resolve your issue.
Click on the link below for a step by step guide.
https://simba-docs.readthedocs.io/en/latest/docs/intro/installation.html
If you are still having trouble installing it please let me know and I will try to fix it asap.
Cheers, JJ
@inoejj So this did not work again, however I noticed that I am missing FFmpeg. Would this cause this issue, and if so how should I install this?
Thanks so much, CO
Please send me a screenshot of the error message or providing more details so I can help you out.
Thanks, JJ
This is the error that I get. I will try on both those versions.
Exception in Tkinter callback
Traceback (most recent call last):
File "c:\users\mcnuc\anaconda3\envs\simbaenv\lib\tkinter__init.py", line 1705, in call
return self.func(*args)
File "c:\users\mcnuc\anaconda3\envs\simbaenv\lib\site-packages\simba\SimBA.py", line 3435, in
which version of simba are did you install?
What did you type into the terminal?
@inoejj I followed the exact instructions found in that guide, the version of simba installed is 0.84.3.
I have tried installing developer and non-dev versions and still no luck.
@inojj I should also clarify, I am installing on windows in Anaconda.
conda install python=3.6.10
pip install simba-uw-tf-dev
pip uninstall shapely
conda install -c conda-forge shapely
Please follow the steps above and let me know if you still have trouble installing. Or I can do a quick zoom to install it for you :)
@inoejj Thanks for the help, I have tried these steps several times and no luck. Also on 3.6.8. Could it be that I am missing FFmpeg? How can I install this to my environment or to my device so it works with the environment?
Thanks, Cameron
FFmpeg does not matter. Please follow the steps below and it should work. In the following example below, you can change simbaenv
to any name that you wished.
Else, please send an email to jchoong@uw.edu and I will just do a quick zoom with you :)
@inoejj If you'd like we can do that, but I have followed these exact instructions several times and no luck. Is it possible I should install an older version of SimBA?
Do you want to type pip show simba-uw-tf-dev and see the version of simba that is installed in your machine?
@inoejj It installs version 0.84.3 of simba-uw-tf-dev
Please send an email to jchoong@uw.edu and do a quick zoom now.
Hello @sgoldenlab ! I am having toruble getting the SimBA GUI to work after installing it via pip install simba-uw-tf-dev. I created a new project, when I try to load the proj_config.ini the GUI window opens, but all the tabs except the ROI are blank (image attached below). Here is the error readout in the Anaconda prompt after loading the proj_config.ini:
Exception in Tkinter callback Traceback (most recent call last): File "/home/compraka/anaconda3/envs/SimBA/lib/python3.7/tkinter/init.py", line 1702, in call return self.func(args) File "/home/compraka/anaconda3/envs/SimBA/lib/python3.7/site-packages/simba/SimBA.py", line 3356, in
launchloadprojectButton = Button(lpMenu,text='Load Project',command=lambda:self.launch(lpMenu,inputcommand))
File "/home/compraka/anaconda3/envs/SimBA/lib/python3.7/site-packages/simba/SimBA.py", line 3367, in launch
command(self.projectconfigini.file_path)
File "/home/compraka/anaconda3/envs/SimBA/lib/python3.7/site-packages/simba/SimBA.py", line 3739, in init
self.bp1 = DropDownMenu(label_heatmap,'Bodypart',bpoptions,'15')
File "/home/compraka/anaconda3/envs/SimBA/lib/python3.7/site-packages/simba/SimBA.py", line 769, in init
self.popupMenu = OptionMenu(self,self.dropdownvar, self.choices,command=com)
TypeError: init() missing 1 required positional argument: 'value'
I also see that this was an issue #71 and tried to see if 'shap' was installed. And it shows me that the requirement is already satisfied.
Here is the version of SimBA I am currently using: Name: Simba-UW-tf-dev Version: 0.77.1