Install and Run HDDM on Google Colab

310 views
Skip to first unread message

Wendy Luo

unread,
Aug 8, 2023, 11:27:52 AM8/8/23
to hddm-users
Hi everyone,

Does anyone know the best way to install and run hddm on Google Colab now?
I tried following the steps in this tutorial but  !pip install hddm failed.

Any suggestion is appreciated!


Best,
Wendy

Michael J Frank

unread,
Aug 8, 2023, 12:20:14 PM8/8/23
to hddm-...@googlegroups.com
I recommend switching over to HSSM - no installation issues! Especially if you have yet to begin with installation, HDDM will become increasingly deprecated and HSSM is its more modern successor (see other posts in this forum). You can also use it in colab if you want (see the main tutorial).

Michael
 

--
You received this message because you are subscribed to the Google Groups "hddm-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hddm-users+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/hddm-users/1a7b59ab-a886-48dc-a198-c9c9dc1c47f0n%40googlegroups.com.

Wendy Luo

unread,
Aug 8, 2023, 1:11:08 PM8/8/23
to hddm-users
Hi Michael,

Thank you for your suggestion! Unfortunately, I am having problems installing the package locally (on a mac). 

pip install hssm gives me an error message:

ERROR: Could not find a version that satisfies the requirement hssm

ERROR: No matching distribution found for hssm

Although I checked on pypI and hssm seems to be released.

pip install git+https://github.com/lnccbrown/HSSM.git also didn't work.

Collecting git+https://github.com/lnccbrown/HSSM.git

  Cloning https://github.com/lnccbrown/HSSM.git to /private/var/folders/qr/dknkqsw15p58vckgd0w2bdmw0000gn/T/pip-req-build-kh11jica

  Running command git clone -q https://github.com/lnccbrown/HSSM.git /private/var/folders/qr/dknkqsw15p58vckgd0w2bdmw0000gn/T/pip-req-build-kh11jica

  xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun

WARNING: Discarding git+https://github.com/lnccbrown/HSSM.git. Command errored out with exit status 1: git clone -q https://github.com/lnccbrown/HSSM.git /private/var/folders/qr/dknkqsw15p58vckgd0w2bdmw0000gn/T/pip-req-build-kh11jica Check the logs for full command output.


Could you provide any further suggestions? Thank you!


Best,
Wendy

Michael J Frank

unread,
Aug 8, 2023, 1:19:10 PM8/8/23
to hddm-...@googlegroups.com
Hi Wendy, 

hm that's strange - maybe try upgrading pip first in case you have an old version
pip install --upgrade pip

If not please  please report as an issue on hssm github where developers will see it.  Did you also try the colab?

Michael  



Wendy Luo

unread,
Aug 16, 2023, 4:09:07 PM8/16/23
to hddm-users
Hi Michael,

Thank you very much for your suggestion! I was able to use hssm in Colab. However, as someone new to HDDM, I found the high flexibility of HSSM, which is great for more advanced users, a little overwhelming. I noticed that you are planning to create a document for HSSM counterparts for common HDDM models. This would be very helpful for us. Do you have a sense of when it will become available?

Thank you!


Best,
Wendy

Michael J Frank

unread,
Aug 17, 2023, 7:20:15 PM8/17/23
to hddm-...@googlegroups.com
Hi Wendy, 

Most of the key people have been away this week but I expect some more tutorials (and answers to other issues) will be up within a couple of weeks.  Meanwhile you can find some basic examples in the existing tutorials (including the one on getting started if you don;t want the full main tutorial) as well as some examples that are on the HSSM discussion and issues forums (e.g. how to load your own dataset how to fit task data with different conditions, and equivalent to "stim coding" ).

Michael



 



Reply all
Reply to author
Forward
0 new messages