-
Notifications
You must be signed in to change notification settings - Fork 203
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Trouble with SSM installation #165
Comments
I encountered the same error while trying to install. how to solve it? |
I also encountered the same problem. Have you solved it? |
I also encountered the same problem. Have you solved it? |
I encountered the same error. |
I encountered this error on Windows, but it was successfully installed on Linux. Hope this will help you
发自我的iPhone
…------------------ Original ------------------
From: Wang Lei ***@***.***>
Date: Wed,Mar 20,2024 5:57 PM
To: lindermanlab/ssm ***@***.***>
Cc: OBS ***@***.***>, Comment ***@***.***>
Subject: Re: [lindermanlab/ssm] Trouble with SSM installation (Issue #165)
I encountered the same error.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.Message ID: ***@***.***>
|
I install Visual Stidio according to https://stackoverflow.com/questions/64261546/how-to-solve-error-microsoft-visual-c-14-0-or-greater-is-required-when-inst, it really works! |
Thanks for sharing your solution @wanglei666666666! I haven't tested on Windows personally, but it makes sense that you need to install some extra compiler tools. An alternative approach would be to install gcc/g++ through conda, but I can't say for sure if that would work. |
Hi,
I am trying to fit some rodent behavior data using the SSM package. However, when I follow the installation instructions in my conda environment, I am unable to install the package and it ends with the error:
error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/
[end of output]
I did visit the build tools site, but was unsure what or how to install those packages.
Can someone help me with this?
Thanks!
Full output:
`Obtaining file:///C:/Users/dlab/rishika_sim/ssm
Preparing metadata (setup.py) ... done
Requirement already satisfied: numpy>=1.18 in c:\users\dlab\miniforge3\envs\rishika\lib\site-packages (from ssm==0.0.1) (1.25.1)
Requirement already satisfied: scipy in c:\users\dlab\miniforge3\envs\rishika\lib\site-packages (from ssm==0.0.1) (1.11.1)
Requirement already satisfied: numba in c:\users\dlab\miniforge3\envs\rishika\lib\site-packages (from ssm==0.0.1) (0.58.1)
Requirement already satisfied: scikit-learn in c:\users\dlab\miniforge3\envs\rishika\lib\site-packages (from ssm==0.0.1) (1.3.2)
Requirement already satisfied: tqdm in c:\users\dlab\miniforge3\envs\rishika\lib\site-packages (from ssm==0.0.1) (4.66.1)
Requirement already satisfied: autograd in c:\users\dlab\miniforge3\envs\rishika\lib\site-packages (from ssm==0.0.1) (1.6.2)
Requirement already satisfied: cython in c:\users\dlab\miniforge3\envs\rishika\lib\site-packages (from ssm==0.0.1) (3.0.6)
Requirement already satisfied: future>=0.15.2 in c:\users\dlab\miniforge3\envs\rishika\lib\site-packages (from autograd->ssm==0.0.1) (0.18.3)
Requirement already satisfied: llvmlite<0.42,>=0.41.0dev0 in c:\users\dlab\miniforge3\envs\rishika\lib\site-packages (from numba->ssm==0.0.1) (0.41.1)
Requirement already satisfied: joblib>=1.1.1 in c:\users\dlab\miniforge3\envs\rishika\lib\site-packages (from scikit-learn->ssm==0.0.1) (1.3.2)
Requirement already satisfied: threadpoolctl>=2.0.0 in c:\users\dlab\miniforge3\envs\rishika\lib\site-packages (from scikit-learn->ssm==0.0.1) (3.2.0)
Requirement already satisfied: colorama in c:\users\dlab\miniforge3\envs\rishika\lib\site-packages (from tqdm->ssm==0.0.1) (0.4.6)
Installing collected packages: ssm
Running setup.py develop for ssm
error: subprocess-exited-with-error
error: subprocess-exited-with-error
× python setup.py develop did not run successfully.
│ exit code: 1
╰─> [54 lines of output]
USE_OPENMP False
C:\Users\dlab\miniforge3\envs\rishika\lib\site-packages\setuptools\dist.py:745: SetuptoolsDeprecationWarning: Invalid dash-separated options
!!
note: This error originates from a subprocess, and is likely not a problem with pip.`
The text was updated successfully, but these errors were encountered: