sgoldenlab / simba

SimBA (Simple Behavioral Analysis), a pipeline and GUI for developing supervised behavioral classifiers
https://simba-uw-tf-dev.readthedocs.io/
GNU General Public License v3.0
287 stars 140 forks source link

failed to install simba in linux #84

Closed Wutaijing9 closed 3 years ago

Wutaijing9 commented 3 years ago

Describe the bug when I try to install simba in linux system, incompatible occurs

To Reproduce As recommended, Firstly, Run pip install pip==20.1.1 Next, run pip install simba-uw-tf screenshot

Then I tried pip install simba-uw-tf --no-dependencies screenshot_1 But when I try to install dlc, no dlc satified the requirements of simba. screenshot_2 And THEN I go throuth requiments of dlc and simba dlc requires pandas >= 1.0.1, while simba requires pandas 0.25.3 screenshot_3

Desktop (please complete the following information):

Do you have any other suggestions?

sronilsson commented 3 years ago

Hi @Wutaijing9 - first, if you are in Linux - use the simba dev version - pip install simba-uw-tf-dev, not the simba-uw-tf or simba-uw-no-tf versions.

The clash you are seeing is because simba-uw-tf wraps around deeplabcut==2.0.9, which does not require pandas >=1.0. However, I recommend using the DLC interface to generate your tracking, rather than the simba-dlc interface. More info here: https://github.com/sgoldenlab/simba/blob/master/docs/Tutorial_DLC.md

Wutaijing9 commented 3 years ago

Hi @Wutaijing9 - first, if you are in Linux - use the simba dev version - pip install simba-uw-tf-dev, not the simba-uw-tf or simba-uw-no-tf versions.

The clash you are seeing is because simba-uw-tf wraps around deeplabcut==2.0.9, which does not require pandas >=1.0. However, I recommend using the DLC interface to generate your tracking, rather than the simba-dlc interface. More info here: https://github.com/sgoldenlab/simba/blob/master/docs/Tutorial_DLC.md

I do try simba-uw-tf-dev. pip install https://files.pythonhosted.org/packages/f7/cb/69a7a1dfc31068d3b96bf69822fda9140267e63e4983544573017b579a67/Simba_UW_tf_dev-0.77.1-py3-none-any.whl (Since pip install simba-uw-tf-dev reported a lot of bugs, even tried no dependencies) It did not work when I launch simba. Do you have any more suggesdtions? screenshot_4

sgoldenlab commented 3 years ago

@Wutaijing9. Please delete the environment and try again use pip install simba-uw-tf-dev==0.77.1

On Linux, somehow the installation of pip install simba-uw-tf-dev is defaulted to version 0.44 which is outdated.

Please let me know if that works for you.

Wutaijing9 commented 3 years ago

@Wutaijing9. Please delete the environment and try again use pip install simba-uw-tf-dev==0.77.1

On Linux, somehow the installation of pip install simba-uw-tf-dev is defaulted to version 0.44 which is outdated.

Please let me know if that works for you.

This reduced bugs compared to simba-uw-tf-dev. And bugs it reported were as follows screenshot_5

sronilsson commented 3 years ago

@Wutaijing9 - you still get the same TclError preventing boot?

Wutaijing9 commented 3 years ago

@Wutaijing9 - you still get the same TclError preventing boot? Excited thouth I don't know why. NO MORE BUGS REPORTED NOW. conda create py37 -n python=3.7.3 pip install simba-uw-tf-dev==0.77.1

simba could launch with no bugs reported

before conda create py36 -n python=3.6.0 pip install simba-uw-tf-dev==0.77.1 get TclError preventing boot.

sgoldenlab commented 3 years ago

Thanks for letting us know!