Win 10
Psychopy v.2020.2.10
(Not sure if this is a standalone installation, not sure what that means, but I did install it using the windows installer download and not using python packages).
Whenever I try to include a textbox component, I get an error message similar to the following one and my experiment crashes at startup. As you’ll see, it refers to an error accessing numpy. I figured it might be because the numpy module was outdated, so I went ahead and used PIP to upgrade it to the latest version 1.19.5 and that still didn’t fix it. Anyone know how to fix this so that I can use textboxes?
Traceback (most recent call last):
File “C:\Users\Arthur\Google Drive\Colorado\LGG\Shipped Versions of Tasks\mIGT v1.05 for Pavlovia\mIGT V1.05_lastrun.py”, line 102, in
autoLog=True,
File “C:\Program Files\PsychoPy3\lib\site-packages\psychopy\visual\textbox2\textbox2.py”, line 160, in init
self.font = font
File “C:\Program Files\PsychoPy3\lib\site-packages\psychopy\tools\attributetools.py”, line 32, in set
newValue = self.func(obj, value)
File “C:\Program Files\PsychoPy3\lib\site-packages\psychopy\visual\textbox2\textbox2.py”, line 242, in font
size=int(round(self._pixLetterHeight)),
TypeError: type numpy.ndarray doesn’t define round method
System information:
PsychoPy 2020.2.10
Paths to files on the system:
userPrefsFile: C:\Users\Arthur\AppData\Roaming\psychopy3\userPrefs.cfg
appDataFile: C:\Users\Arthur\AppData\Roaming\psychopy3\appData.cfg
demos: C:\Program Files\PsychoPy3\lib\site-packages\psychopy\demos
appFile: C:\Program Files\PsychoPy3\lib\site-packages\psychopy\app\PsychoPy.pySystem Info:
Operating System: Windows-10-10.0.19041-SP0
Processor: Intel64 Family 6 Model 69 Stepping 1, GenuineIntel
CPU freq (MHz): 2301.0
CPU cores: 2 (physical), 4 (logical)
Installed memory: 8497946624 (Total), 1482416128 (Available)Python info:
Executable path: C:\Program Files\PsychoPy3\pythonw.exe
Version: 3.6.6 (v3.6.6:4cf1f54eb7, Jun 27 2018, 03:37:03) [MSC v.1900 64 bit (AMD64)]
(Selected) Installed Packages:
numpy (1.19.5)
scipy (1.4.1)
matplotlib (3.3.0)
pyglet (1.3.3)
PyGLFW (1.7.0)
pyo 0.9.7
psychtoolbox (3.0.16)
wxPython (4.1.0)OpenGL Info:
Vendor: Intel
Rendering engine: Intel(R) HD Graphics 4400
OpenGL version: 4.3.0 - Build 20.19.15.4642
Shaders supported: True
(Selected) Extensions:
GL_ARB_multitexture: True
GL_EXT_framebuffer_object: True
GL_ARB_fragment_program: True
GL_ARB_shader_objects: True
GL_ARB_vertex_shader: True
GL_ARB_texture_non_power_of_two: True
GL_ARB_texture_float: True
GL_STEREO: False
max vertices in vertex array: 1048576