Some issues when trying to run an online experiment locally

I’m trying to run an experiment that had been working online locally (by pressing the play button in builder).

I am getting a few errors. One is this:

AttributeError: 'TextStim' object has no attribute 'setAlignHoriz'

I believe in reference to the following code:


Then, I am also being asked to download sounddevice. I’m not sure how to go about doing this.

Would appreciate any advice. Thank you!

Edit: I ended up just deleting the align command and it’s working offline now.