| Reference | Downloads | Github

ImportError: cannot import name '_ccallback_c'

Hi, I installed the 1.90.3 standalone version of PsychoPy, but it won’t launch. This is the error log. I got a previous error log about pandas, and installed all the dependencies using pip to resolve it, but I can’t seem to resolve this.

I’ve tried:

  • Deleting appData

I only have Python 3.6 installed - is that fine?

Thank you!

PS C:\Program Files (x86)\PsychoPy2_PY3\Lib\site-packages\psychopy\app> python .\
Traceback (most recent call last):
File “.\”, line 96, in
File “.\”, line 28, in start_app
app = PsychoPyApp(0, showSplash=showSplash)
File “C:\Program Files (x86)\PsychoPy2_PY3\lib\site-packages\psychopy\”, line 175, in init
self.onInit(testMode=testMode, **kwargs)
File “C:\Program Files (x86)\PsychoPy2_PY3\lib\site-packages\psychopy\”, line 205, in onInit
from psychopy.compatibility import checkCompatibility
File “C:\Program Files (x86)\PsychoPy2_PY3\lib\site-packages\psychopy\”, line 12, in
File “C:\Program Files (x86)\PsychoPy2_PY3\lib\site-packages\psychopy\”, line 11, in
from .staircase import (StairHandler, QuestHandler, PsiHandler,
File “C:\Program Files (x86)\PsychoPy2_PY3\lib\site-packages\psychopy\data\”, line 28, in
from psychopy.contrib.psi import PsiObject
File “C:\Program Files (x86)\PsychoPy2_PY3\lib\site-packages\psychopy\contrib\”, line 27, in
from scipy import stats
File “C:\Users\Michelle\AppData\Roaming\Python\Python36\site-packages\”, line 119, in
from scipy._lib._ccallback import LowLevelCallable
File “C:\Users\Michelle\AppData\Roaming\Python\Python36\site-packages\”, line 1, in
from . import _ccallback_c
ImportError: cannot import name ‘_ccallback_c’

It looks like you have a copy of scipy installed in your “roaming” and ford some reason psychopy is finding that but it isn’t complete. PsychoPy should have it’s own scipy installed and should not be using your external one

Thank you very much! I’ve solved it now by installing Python 2.7 and the 2.7-only standalone of PsychoPy.