# Error when trying to add any stimuli in builder

**URL:** <https://discourse.psychopy.org/t/error-when-trying-to-add-any-stimuli-in-builder/14547>\
**Category:** Builder\
**Created:** [June 25, 2020, 10:14am UTC](https://discourse.psychopy.org/t/error-when-trying-to-add-any-stimuli-in-builder/14547 "2020-06-25T10:14:34Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jana\_Maresch](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.psychopy.org/jana_maresch/32/9295_2.png) [@Jana\_Maresch](https://discourse.psychopy.org/u/Jana_Maresch)\
**Post date:** [June 25, 2020, 10:14am UTC](https://discourse.psychopy.org/t/error-when-trying-to-add-any-stimuli-in-builder/14547/1 "2020-06-25T10:14:34Z")

</div>

\*\* Win10 \*\*  
\*\* PsychoPy version 2020.1.2 \*\*  
\*\*Standard Standalone? yes \*\*

Hi everyone, I’m completely new to PsychoPy (just downloaded it today). I installed it via pycharm (version 2020.1.2. x64) and the pip3 install psychopy. I started to follow the tutorial (on this website) btu didn’t get too far. When I try to insert some text, I get following error (the first lines are there when I start the program already):

Welcome to PsychoPy3!  
v2020.1.2  
18.9452 WARNING Couldn’t connect to [psychopy.org](http://psychopy.org)  
Check internet settings (and proxy setting in PsychoPy Preferences.  
Traceback (most recent call last):  
File “c:\users\lenovo\miniconda3\envs\newproject\lib\site-packages\psychopy\app\builder\builder.py”, line 905, in onClick  
timeout=timeout)  
File “c:\users\lenovo\miniconda3\envs\newproject\lib\site-packages\psychopy\app\builder\dialogs\__init_\_.py”, line 1758, in **init**  
timeout=timeout)  
File “c:\users\lenovo\miniconda3\envs\newproject\lib\site-packages\psychopy\app\builder\dialogs\__init_\_.py”, line 510, in **init**  
ctrls = self.addCategoryOfParams(theseParams, parent=page)  
File “c:\users\lenovo\miniconda3\envs\newproject\lib\site-packages\psychopy\app\builder\dialogs\__init_\_.py”, line 617, in addCategoryOfParams  
currRow)  
File “c:\users\lenovo\miniconda3\envs\newproject\lib\site-packages\psychopy\app\builder\dialogs\__init_\_.py”, line 720, in addStartStopCtrls  
flag=wx.ALIGN\_RIGHT | wx.ALIGN\_CENTRE\_VERTICAL)  
wx.\_core.wxAssertionError: C++ assertion “!(flags & wxALIGN\_CENTRE\_VERTICAL)” failed at …\src\common\sizer.cpp(2077) in wxBoxSizer::DoInsert(): Vertical alignment flags are ignored in vertical sizers

I tried to check the proxy setting in PsychoPy references but I get another error (and can’t access the preferences menu):

Traceback (most recent call last):  
File “c:\users\lenovo\miniconda3\envs\newproject\lib\site-packages\psychopy\app\_psychopyApp.py”, line 771, in showPrefs  
prefsDlg = PreferencesDlg(app=self)  
File “c:\users\lenovo\miniconda3\envs\newproject\lib\site-packages\psychopy\app\preferencesDlg.py”, line 175, in **init**  
sizer.Add(line, 0, lineStyle, 5)  
wx.\_core.wxAssertionError: C++ assertion “!(flags & wxALIGN\_CENTRE\_VERTICAL)” failed at …\src\common\sizer.cpp(2077) in wxBoxSizer::DoInsert(): Vertical alignment flags are ignored in vertical sizers

I’m really not sure what the problem could be and I don’t know where to start even. I’d appreciate any tips or hints on what I should try!

---

<div class="post-metadata">

**Author:** ![TParsons](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.psychopy.org/tparsons/32/8301_2.png) [@TParsons](https://discourse.psychopy.org/u/TParsons)\
**Post date:** [July 3, 2020, 2:45pm UTC](https://discourse.psychopy.org/t/error-when-trying-to-add-any-stimuli-in-builder/14547/2 "2020-07-03T14:45:21Z")

</div>

Hi Jana,

This happens sometimes with pip installs - the last release uses an older version of `wx`, if you install using the `.exe` installer then it installs this version with PsychoPy but if you have the latest version of `wx` installed then it will try to use that on an IDE like PyCharm. In the near future we’ll (hopefully) be releasing a new version which will use the newest `wx` and will be stable - if you want to try it out then you’re welcome to pull from the master branch:

> **[psychopy/psychopy](https://github.com/psychopy/psychopy)**
>
> For running psychology and neuroscience experiments - psychopy/psychopy

  
but be aware that it’s still in development so will have other bugs, so for a safer option I recommend downgrading your version of `wx` in pip and then re-upgrading when the next release of Psychopy is out.

---

<div class="post-metadata">

**Author:** ![Jana\_Maresch](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.psychopy.org/jana_maresch/32/9295_2.png) [@Jana\_Maresch](https://discourse.psychopy.org/u/Jana_Maresch)\
**Post date:** [July 5, 2020, 9:16am UTC](https://discourse.psychopy.org/t/error-when-trying-to-add-any-stimuli-in-builder/14547/3 "2020-07-05T09:16:34Z")

</div>

Hi,

Thanks so much for the explanation and help. I definitely want to go for the safe option and just get it running. I’m not sure though what exactly I need to do… What exactly is the wx? And how can I downgrade my version of wx in pip?
