sollan / alma

Fully automated (rodent) limb motion analysis toolbox for behavioral analysis with bodypart coordinate data, building upon markerless pose estimation.
GNU General Public License v3.0
13 stars 5 forks source link

problem of python ./alma.py #19

Closed wuwuqaz closed 2 years ago

wuwuqaz commented 2 years ago

Hi, When I try to operate alma.py, it showed the error below. Do you know how to solve it? T\Are there any other information that I can provide for you to better understand this problem? Thank you so much for your help in advance.

Best, Alex

(DEEPLABCUT) C:\Users\90833\Downloads\alma-master>python ./alma.py Traceback (most recent call last): File "./alma.py", line 2, in from Panels import Start, AnalyzeStride, AnalyzeFootfall, RandomForest, PCA File "C:\Users\90833\Downloads\alma-master\Panels\RandomForest.py", line 3, in from Functions import ConfigFunctions, DataAnalysisFunctions File "C:\Users\90833\Downloads\alma-master\Functions\DataAnalysisFunctions.py", line 7, in import seaborn as sns File "C:\ProgramData\Anaconda3\envs\DEEPLABCUT\lib\site-packages\seaborn__init.py", line 2, in from .rcmod import * # noqa: F401,F403 File "C:\ProgramData\Anaconda3\envs\DEEPLABCUT\lib\site-packages\seaborn\rcmod.py", line 82, in if LooseVersion(mpl.version) >= "3.0": File "C:\ProgramData\Anaconda3\envs\DEEPLABCUT\lib\site-packages\setuptools_distutils\version.py", line 55, in init__ warnings.warn( DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.

sollan commented 2 years ago

Hi Alex! Can you please try to reinstall following these steps? As you are working on a Windows machine, some of these commands won't work and maybe you'll need to check the environment variables for your Python version. But in general, most importantly for the installation, please create a fresh environment with no previously installed packages, including DeepLabCut.

https://github.com/sollan/alma/issues/18#issuecomment-1147513572

Let me know if this works or if you need more help :)

Best, Annette

wuwuqaz commented 2 years ago

Hi Alex! Can you please try to reinstall following these steps? As you are working on a Windows machine, some of these commands won't work and maybe you'll need to check the environment variables for your Python version. But in general, most importantly for the installation, please create a fresh environment with no previously installed packages, including DeepLabCut.

#18 (comment)

Let me know if this works or if you need more help :)

Best, Annette

Hi Annette,

Thank you so much for your help. I am using windows. After installed python 3.8.5 without using virtual environment, it works. really appreciate to your help : )

Best, Alex