OS (e.g. Win10): Mojave 10.14.6
PsychoPy version (e.g. 1.84.x): v3.2.3
Standard Standalone? (y/n) If not then what?: yes
What are you trying to achieve?: Trying to work with a microphone, first step testing the voiceCapture demo, getting error messages
What did you try to make it work?: change audiolib to various options, re-install Psychopy, test on a PC, where I do not get the same errors (but currently sorting out mic hardware issues there)
What specifically went wrong when you tried that?:
Generating PsychoPy script...
## Running: /Users/alario/Documents/TestingPsychoPy/demos/voiceCapture/voiceCapture_lastrun.py ##
0.0737 WARNING pyo audio lib was requested but not loaded: ImportError('dlopen(/Applications/PsychoPy3.app/Contents/Resources/lib/python3.6/lib-dynload/pyo/_pyo.so, 2): Library not loaded: @loader_path/libportaudio.2.dylib\n Referenced from: /Applications/PsychoPy3.app/Contents/Resources/lib/python3.6/lib-dynload/pyo/_pyo.so\n Reason: image not found',)
2019-10-07 16:28:46.105 python[4666:118603] ApplePersistenceIgnoreState: Existing state will not be touched. New state will be written to (null)
Traceback (most recent call last):
File "/Applications/PsychoPy3.app/Contents/Resources/lib/python3.6/psychopy/sound/backend_pyo.py", line 19, in <module>
import pyo
File "pyo/__init__.pyc", line 28, in <module>
File "pyo/lib/analysis.pyc", line 32, in <module>
File "pyo/lib/_core.pyc", line 58, in <module>
File "pyo/_pyo.pyc", line 14, in <module>
File "pyo/_pyo.pyc", line 10, in __load
File "imp.pyc", line 342, in load_dynamic
ImportError: dlopen(/Applications/PsychoPy3.app/Contents/Resources/lib/python3.6/lib-dynload/pyo/_pyo.so, 2): Library not loaded: @loader_path/libportaudio.2.dylib
Referenced from: /Applications/PsychoPy3.app/Contents/Resources/lib/python3.6/lib-dynload/pyo/_pyo.so
Reason: image not found
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Users/alario/Documents/TestingPsychoPy/demos/voiceCapture/voiceCapture_lastrun.py", line 18, in <module>
from psychopy import sound, gui, visual, core, data, event, logging, clock, microphone
File "/Applications/PsychoPy3.app/Contents/Resources/lib/python3.6/psychopy/microphone.py", line 45, in <module>
from psychopy.sound import backend_pyo
File "/Applications/PsychoPy3.app/Contents/Resources/lib/python3.6/psychopy/sound/backend_pyo.py", line 23, in <module>
raise exceptions.DependencyError(repr(err))
psychopy.exceptions.DependencyError: ImportError('dlopen(/Applications/PsychoPy3.app/Contents/Resources/lib/python3.6/lib-dynload/pyo/_pyo.so, 2): Library not loaded: @loader_path/libportaudio.2.dylib\n Referenced from: /Applications/PsychoPy3.app/Contents/Resources/lib/python3.6/lib-dynload/pyo/_pyo.so\n Reason: image not found',)
Thank you very much for your help, Xavier