I found another problem, probably related to this issue. Can this be fixed?
I can’t install psychopy in command line tools using “pip install psychopy
” just because psychtoolbox
is incompatible with Mac M1 (i.e. arm64) version, see error message below (there are too many lines that exceeds the limitation so I omit the second half of them):
Building wheels for collected packages: psychtoolbox, pyo
Building wheel for psychtoolbox (setup.py) ... error
ERROR: Command errored out with exit status 1:
command: /Users/maiyunfei/miniconda3/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/2z/4543bg893mn2dhg0bkv5yyy80000gn/T/pip-install-i7uic55h/psychtoolbox_bd77aa82c4d54f789e804cec3c9994a9/setup.py'"'"'; __file__='"'"'/private/var/folders/2z/4543bg893mn2dhg0bkv5yyy80000gn/T/pip-install-i7uic55h/psychtoolbox_bd77aa82c4d54f789e804cec3c9994a9/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /private/var/folders/2z/4543bg893mn2dhg0bkv5yyy80000gn/T/pip-wheel-g07hxw50
cwd: /private/var/folders/2z/4543bg893mn2dhg0bkv5yyy80000gn/T/pip-install-i7uic55h/psychtoolbox_bd77aa82c4d54f789e804cec3c9994a9/
Complete output (196 lines):
Platform reported as: Darwin
Building for macOS...
running bdist_wheel
running build
running build_py
creating build
creating build/lib.macosx-11.1-arm64-3.8
creating build/lib.macosx-11.1-arm64-3.8/psychtoolbox
copying PsychPython/psychtoolbox/_version.py -> build/lib.macosx-11.1-arm64-3.8/psychtoolbox
copying PsychPython/psychtoolbox/hid.py -> build/lib.macosx-11.1-arm64-3.8/psychtoolbox
copying PsychPython/psychtoolbox/__init__.py -> build/lib.macosx-11.1-arm64-3.8/psychtoolbox
copying PsychPython/psychtoolbox/audio.py -> build/lib.macosx-11.1-arm64-3.8/psychtoolbox
creating build/lib.macosx-11.1-arm64-3.8/psychtoolbox/demos
copying PsychPython/demos/hidtest_pythonic.py -> build/lib.macosx-11.1-arm64-3.8/psychtoolbox/demos
copying PsychPython/demos/ppatest_pythonic.py -> build/lib.macosx-11.1-arm64-3.8/psychtoolbox/demos
copying PsychPython/demos/ppatest_oldschool.py -> build/lib.macosx-11.1-arm64-3.8/psychtoolbox/demos
copying PsychPython/demos/__init__.py -> build/lib.macosx-11.1-arm64-3.8/psychtoolbox/demos
copying PsychPython/demos/hidtest_oldschool.py -> build/lib.macosx-11.1-arm64-3.8/psychtoolbox/demos
running egg_info
writing PsychPython/psychtoolbox.egg-info/PKG-INFO
writing dependency_links to PsychPython/psychtoolbox.egg-info/dependency_links.txt
writing requirements to PsychPython/psychtoolbox.egg-info/requires.txt
writing top-level names to PsychPython/psychtoolbox.egg-info/top_level.txt
reading manifest file 'PsychPython/psychtoolbox.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file 'PsychPython/psychtoolbox.egg-info/SOURCES.txt'
running build_ext
building 'GetSecs' extension
creating build/temp.macosx-11.1-arm64-3.8
creating build/temp.macosx-11.1-arm64-3.8/PsychSourceGL
creating build/temp.macosx-11.1-arm64-3.8/PsychSourceGL/Source
creating build/temp.macosx-11.1-arm64-3.8/PsychSourceGL/Source/Common
creating build/temp.macosx-11.1-arm64-3.8/PsychSourceGL/Source/Common/Base
creating build/temp.macosx-11.1-arm64-3.8/PsychSourceGL/Source/Common/Base/PythonGlue
creating build/temp.macosx-11.1-arm64-3.8/PsychSourceGL/Source/OSX
creating build/temp.macosx-11.1-arm64-3.8/PsychSourceGL/Source/OSX/Base
creating build/temp.macosx-11.1-arm64-3.8/PsychSourceGL/Source/Common/GetSecs
gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Users/maiyunfei/miniconda3/include -arch arm64 -I/Users/maiyunfei/miniconda3/include -arch arm64 -DPTBMODULE_GetSecs -DPTBMODULENAME=GetSecs -DPTBOCTAVE3MEX -DPSYCH_LANGUAGE=PSYCH_PYTHON -IPsychSourceGL/Source/Common/GetSecs -I/Users/maiyunfei/miniconda3/lib/python3.8/site-packages/numpy/core/include -IPsychSourceGL/Source/Common/Base -IPsychSourceGL/Source/Common/Screen -IPsychSourceGL/Source/OSX/Base -IPsychSourceGL/Source/OSX/GetSecs -I/Users/maiyunfei/miniconda3/include/python3.8 -c ./PsychSourceGL/Source/Common/Base/MODULEVersion.c -o build/temp.macosx-11.1-arm64-3.8/./PsychSourceGL/Source/Common/Base/MODULEVersion.o -Wno-date-time -mmacosx-version-min=10.9
gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Users/maiyunfei/miniconda3/include -arch arm64 -I/Users/maiyunfei/miniconda3/include -arch arm64 -DPTBMODULE_GetSecs -DPTBMODULENAME=GetSecs -DPTBOCTAVE3MEX -DPSYCH_LANGUAGE=PSYCH_PYTHON -IPsychSourceGL/Source/Common/GetSecs -I/Users/maiyunfei/miniconda3/lib/python3.8/site-packages/numpy/core/include -IPsychSourceGL/Source/Common/Base -IPsychSourceGL/Source/Common/Screen -IPsychSourceGL/Source/OSX/Base -IPsychSourceGL/Source/OSX/GetSecs -I/Users/maiyunfei/miniconda3/include/python3.8 -c ./PsychSourceGL/Source/Common/Base/MiniBox.c -o build/temp.macosx-11.1-arm64-3.8/./PsychSourceGL/Source/Common/Base/MiniBox.o -Wno-date-time -mmacosx-version-min=10.9
gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Users/maiyunfei/miniconda3/include -arch arm64 -I/Users/maiyunfei/miniconda3/include -arch arm64 -DPTBMODULE_GetSecs -DPTBMODULENAME=GetSecs -DPTBOCTAVE3MEX -DPSYCH_LANGUAGE=PSYCH_PYTHON -IPsychSourceGL/Source/Common/GetSecs -I/Users/maiyunfei/miniconda3/lib/python3.8/site-packages/numpy/core/include -IPsychSourceGL/Source/Common/Base -IPsychSourceGL/Source/Common/Screen -IPsychSourceGL/Source/OSX/Base -IPsychSourceGL/Source/OSX/GetSecs -I/Users/maiyunfei/miniconda3/include/python3.8 -c ./PsychSourceGL/Source/Common/Base/ProjectTable.c -o build/temp.macosx-11.1-arm64-3.8/./PsychSourceGL/Source/Common/Base/ProjectTable.o -Wno-date-time -mmacosx-version-min=10.9
gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Users/maiyunfei/miniconda3/include -arch arm64 -I/Users/maiyunfei/miniconda3/include -arch arm64 -DPTBMODULE_GetSecs -DPTBMODULENAME=GetSecs -DPTBOCTAVE3MEX -DPSYCH_LANGUAGE=PSYCH_PYTHON -IPsychSourceGL/Source/Common/GetSecs -I/Users/maiyunfei/miniconda3/lib/python3.8/site-packages/numpy/core/include -IPsychSourceGL/Source/Common/Base -IPsychSourceGL/Source/Common/Screen -IPsychSourceGL/Source/OSX/Base -IPsychSourceGL/Source/OSX/GetSecs -I/Users/maiyunfei/miniconda3/include/python3.8 -c ./PsychSourceGL/Source/Common/Base/PsychAuthors.c -o build/temp.macosx-11.1-arm64-3.8/./PsychSourceGL/Source/Common/Base/PsychAuthors.o -Wno-date-time -mmacosx-version-min=10.9
gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Users/maiyunfei/miniconda3/include -arch arm64 -I/Users/maiyunfei/miniconda3/include -arch arm64 -DPTBMODULE_GetSecs -DPTBMODULENAME=GetSecs -DPTBOCTAVE3MEX -DPSYCH_LANGUAGE=PSYCH_PYTHON -IPsychSourceGL/Source/Common/GetSecs -I/Users/maiyunfei/miniconda3/lib/python3.8/site-packages/numpy/core/include -IPsychSourceGL/Source/Common/Base -IPsychSourceGL/Source/Common/Screen -IPsychSourceGL/Source/OSX/Base -IPsychSourceGL/Source/OSX/GetSecs -I/Users/maiyunfei/miniconda3/include/python3.8 -c ./PsychSourceGL/Source/Common/Base/PsychCellGlue.c -o build/temp.macosx-11.1-arm64-3.8/./PsychSourceGL/Source/Common/Base/PsychCellGlue.o -Wno-date-time -mmacosx-version-min=10.9
gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Users/maiyunfei/miniconda3/include -arch arm64 -I/Users/maiyunfei/miniconda3/include -arch arm64 -DPTBMODULE_GetSecs -DPTBMODULENAME=GetSecs -DPTBOCTAVE3MEX -DPSYCH_LANGUAGE=PSYCH_PYTHON -IPsychSourceGL/Source/Common/GetSecs -I/Users/maiyunfei/miniconda3/lib/python3.8/site-packages/numpy/core/include -IPsychSourceGL/Source/Common/Base -IPsychSourceGL/Source/Common/Screen -IPsychSourceGL/Source/OSX/Base -IPsychSourceGL/Source/OSX/GetSecs -I/Users/maiyunfei/miniconda3/include/python3.8 -c ./PsychSourceGL/Source/Common/Base/PsychError.c -o build/temp.macosx-11.1-arm64-3.8/./PsychSourceGL/Source/Common/Base/PsychError.o -Wno-date-time -mmacosx-version-min=10.9
gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Users/maiyunfei/miniconda3/include -arch arm64 -I/Users/maiyunfei/miniconda3/include -arch arm64 -DPTBMODULE_GetSecs -DPTBMODULENAME=GetSecs -DPTBOCTAVE3MEX -DPSYCH_LANGUAGE=PSYCH_PYTHON -IPsychSourceGL/Source/Common/GetSecs -I/Users/maiyunfei/miniconda3/lib/python3.8/site-packages/numpy/core/include -IPsychSourceGL/Source/Common/Base -IPsychSourceGL/Source/Common/Screen -IPsychSourceGL/Source/OSX/Base -IPsychSourceGL/Source/OSX/GetSecs -I/Users/maiyunfei/miniconda3/include/python3.8 -c ./PsychSourceGL/Source/Common/Base/PsychHelp.c -o build/temp.macosx-11.1-arm64-3.8/./PsychSourceGL/Source/Common/Base/PsychHelp.o -Wno-date-time -mmacosx-version-min=10.9
gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Users/maiyunfei/miniconda3/include -arch arm64 -I/Users/maiyunfei/miniconda3/include -arch arm64 -DPTBMODULE_GetSecs -DPTBMODULENAME=GetSecs -DPTBOCTAVE3MEX -DPSYCH_LANGUAGE=PSYCH_PYTHON -IPsychSourceGL/Source/Common/GetSecs -I/Users/maiyunfei/miniconda3/lib/python3.8/site-packages/numpy/core/include -IPsychSourceGL/Source/Common/Base -IPsychSourceGL/Source/Common/Screen -IPsychSourceGL/Source/OSX/Base -IPsychSourceGL/Source/OSX/GetSecs -I/Users/maiyunfei/miniconda3/include/python3.8 -c ./PsychSourceGL/Source/Common/Base/PsychInit.c -o build/temp.macosx-11.1-arm64-3.8/./PsychSourceGL/Source/Common/Base/PsychInit.o -Wno-date-time -mmacosx-version-min=10.9
gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Users/maiyunfei/miniconda3/include -arch arm64 -I/Users/maiyunfei/miniconda3/include -arch arm64 -DPTBMODULE_GetSecs -DPTBMODULENAME=GetSecs -DPTBOCTAVE3MEX -DPSYCH_LANGUAGE=PSYCH_PYTHON -IPsychSourceGL/Source/Common/GetSecs -I/Users/maiyunfei/miniconda3/lib/python3.8/site-packages/numpy/core/include -IPsychSourceGL/Source/Common/Base -IPsychSourceGL/Source/Common/Screen -IPsychSourceGL/Source/OSX/Base -IPsychSourceGL/Source/OSX/GetSecs -I/Users/maiyunfei/miniconda3/include/python3.8 -c ./PsychSourceGL/Source/Common/Base/PsychInstrument.c -o build/temp.macosx-11.1-arm64-3.8/./PsychSourceGL/Source/Common/Base/PsychInstrument.o -Wno-date-time -mmacosx-version-min=10.9
gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Users/maiyunfei/miniconda3/include -arch arm64 -I/Users/maiyunfei/miniconda3/include -arch arm64 -DPTBMODULE_GetSecs -DPTBMODULENAME=GetSecs -DPTBOCTAVE3MEX -DPSYCH_LANGUAGE=PSYCH_PYTHON -IPsychSourceGL/Source/Common/GetSecs -I/Users/maiyunfei/miniconda3/lib/python3.8/site-packages/numpy/core/include -IPsychSourceGL/Source/Common/Base -IPsychSourceGL/Source/Common/Screen -IPsychSourceGL/Source/OSX/Base -IPsychSourceGL/Source/OSX/GetSecs -I/Users/maiyunfei/miniconda3/include/python3.8 -c ./PsychSourceGL/Source/Common/Base/PsychMemory.c -o build/temp.macosx-11.1-arm64-3.8/./PsychSourceGL/Source/Common/Base/PsychMemory.o -Wno-date-time -mmacosx-version-min=10.9
gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Users/maiyunfei/miniconda3/include -arch arm64 -I/Users/maiyunfei/miniconda3/include -arch arm64 -DPTBMODULE_GetSecs -DPTBMODULENAME=GetSecs -DPTBOCTAVE3MEX -DPSYCH_LANGUAGE=PSYCH_PYTHON -IPsychSourceGL/Source/Common/GetSecs -I/Users/maiyunfei/miniconda3/lib/python3.8/site-packages/numpy/core/include -IPsychSourceGL/Source/Common/Base -IPsychSourceGL/Source/Common/Screen -IPsychSourceGL/Source/OSX/Base -IPsychSourceGL/Source/OSX/GetSecs -I/Users/maiyunfei/miniconda3/include/python3.8 -c ./PsychSourceGL/Source/Common/Base/PsychRegisterProject.c -o build/temp.macosx-11.1-arm64-3.8/./PsychSourceGL/Source/Common/Base/PsychRegisterProject.o -Wno-date-time -mmacosx-version-min=10.9
gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Users/maiyunfei/miniconda3/include -arch arm64 -I/Users/maiyunfei/miniconda3/include -arch arm64 -DPTBMODULE_GetSecs -DPTBMODULENAME=GetSecs -DPTBOCTAVE3MEX -DPSYCH_LANGUAGE=PSYCH_PYTHON -IPsychSourceGL/Source/Common/GetSecs -I/Users/maiyunfei/miniconda3/lib/python3.8/site-packages/numpy/core/include -IPsychSourceGL/Source/Common/Base -IPsychSourceGL/Source/Common/Screen -IPsychSourceGL/Source/OSX/Base -IPsychSourceGL/Source/OSX/GetSecs -I/Users/maiyunfei/miniconda3/include/python3.8 -c ./PsychSourceGL/Source/Common/Base/PsychScriptingGlue.c -o build/temp.macosx-11.1-arm64-3.8/./PsychSourceGL/Source/Common/Base/PsychScriptingGlue.o -Wno-date-time -mmacosx-version-min=10.9
gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Users/maiyunfei/miniconda3/include -arch arm64 -I/Users/maiyunfei/miniconda3/include -arch arm64 -DPTBMODULE_GetSecs -DPTBMODULENAME=GetSecs -DPTBOCTAVE3MEX -DPSYCH_LANGUAGE=PSYCH_PYTHON -IPsychSourceGL/Source/Common/GetSecs -I/Users/maiyunfei/miniconda3/lib/python3.8/site-packages/numpy/core/include -IPsychSourceGL/Source/Common/Base -IPsychSourceGL/Source/Common/Screen -IPsychSourceGL/Source/OSX/Base -IPsychSourceGL/Source/OSX/GetSecs -I/Users/maiyunfei/miniconda3/include/python3.8 -c ./PsychSourceGL/Source/Common/Base/PsychScriptingGlueMatlab.c -o build/temp.macosx-11.1-arm64-3.8/./PsychSourceGL/Source/Common/Base/PsychScriptingGlueMatlab.o -Wno-date-time -mmacosx-version-min=10.9
gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Users/maiyunfei/miniconda3/include -arch arm64 -I/Users/maiyunfei/miniconda3/include -arch arm64 -DPTBMODULE_GetSecs -DPTBMODULENAME=GetSecs -DPTBOCTAVE3MEX -DPSYCH_LANGUAGE=PSYCH_PYTHON -IPsychSourceGL/Source/Common/GetSecs -I/Users/maiyunfei/miniconda3/lib/python3.8/site-packages/numpy/core/include -IPsychSourceGL/Source/Common/Base -IPsychSourceGL/Source/Common/Screen -IPsychSourceGL/Source/OSX/Base -IPsychSourceGL/Source/OSX/GetSecs -I/Users/maiyunfei/miniconda3/include/python3.8 -c ./PsychSourceGL/Source/Common/Base/PsychStructGlue.c -o build/temp.macosx-11.1-arm64-3.8/./PsychSourceGL/Source/Common/Base/PsychStructGlue.o -Wno-date-time -mmacosx-version-min=10.9
gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Users/maiyunfei/miniconda3/include -arch arm64 -I/Users/maiyunfei/miniconda3/include -arch arm64 -DPTBMODULE_GetSecs -DPTBMODULENAME=GetSecs -DPTBOCTAVE3MEX -DPSYCH_LANGUAGE=PSYCH_PYTHON -IPsychSourceGL/Source/Common/GetSecs -I/Users/maiyunfei/miniconda3/lib/python3.8/site-packages/numpy/core/include -IPsychSourceGL/Source/Common/Base -IPsychSourceGL/Source/Common/Screen -IPsychSourceGL/Source/OSX/Base -IPsychSourceGL/Source/OSX/GetSecs -I/Users/maiyunfei/miniconda3/include/python3.8 -c ./PsychSourceGL/Source/Common/Base/PsychVersioning.c -o build/temp.macosx-11.1-arm64-3.8/./PsychSourceGL/Source/Common/Base/PsychVersioning.o -Wno-date-time -mmacosx-version-min=10.9
gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Users/maiyunfei/miniconda3/include -arch arm64 -I/Users/maiyunfei/miniconda3/include -arch arm64 -DPTBMODULE_GetSecs -DPTBMODULENAME=GetSecs -DPTBOCTAVE3MEX -DPSYCH_LANGUAGE=PSYCH_PYTHON -IPsychSourceGL/Source/Common/GetSecs -I/Users/maiyunfei/miniconda3/lib/python3.8/site-packages/numpy/core/include -IPsychSourceGL/Source/Common/Base -IPsychSourceGL/Source/Common/Screen -IPsychSourceGL/Source/OSX/Base -IPsychSourceGL/Source/OSX/GetSecs -I/Users/maiyunfei/miniconda3/include/python3.8 -c PsychSourceGL/Source/Common/Base/PythonGlue/PsychScriptingGluePython.c -o build/temp.macosx-11.1-arm64-3.8/PsychSourceGL/Source/Common/Base/PythonGlue/PsychScriptingGluePython.o -Wno-date-time -mmacosx-version-min=10.9
PsychSourceGL/Source/Common/Base/PythonGlue/PsychScriptingGluePython.c:222:43: warning: 'PyModule_GetFilename' is deprecated [-Wdeprecated-declarations]
sprintf(modulefilename, "%s", PyModule_GetFilename(module));
^
/Users/maiyunfei/miniconda3/include/python3.8/moduleobject.h:28:1: note: 'PyModule_GetFilename' has been explicitly marked deprecated here
Py_DEPRECATED(3.2) PyAPI_FUNC(const char *) PyModule_GetFilename(PyObject *);
^
/Users/maiyunfei/miniconda3/include/python3.8/pyport.h:515:54: note: expanded from macro 'Py_DEPRECATED'
#define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__))
^
PsychSourceGL/Source/Common/Base/PythonGlue/PsychScriptingGluePython.c:2674:37: warning: 'PyUnicode_GetSize' is deprecated [-Wdeprecated-declarations]
strLen = (psych_uint64) PyUnicode_GetSize(ppyPtr) + 1;
^
/Users/maiyunfei/miniconda3/include/python3.8/unicodeobject.h:177:1: note: 'PyUnicode_GetSize' has been explicitly marked deprecated here
Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
^
/Users/maiyunfei/miniconda3/include/python3.8/pyport.h:515:54: note: expanded from macro 'Py_DEPRECATED'
#define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__))
^
2 warnings generated.
gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Users/maiyunfei/miniconda3/include -arch arm64 -
(===== OMITTED MUCH MANY LINES =====)
Complete output (5 lines):
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/Users/maiyunfei/miniconda3/lib/python3.8/tokenize.py", line 392, in open
buffer = _builtin_open(filename, 'rb')
FileNotFoundError: [Errno 2] No such file or directory: '/private/var/folders/2z/4543bg893mn2dhg0bkv5yyy80000gn/T/pip-install-i7uic55h/pyo_389defabfdba4fd4b01cfffad6950a93/setup.py'
----------------------------------------
ERROR: Failed cleaning build dir for pyo
Failed to build psychtoolbox pyo
Installing collected packages: pyo, pyglet, psychtoolbox, psutil, openpyxl, msgpack-numpy, moviepy, javascripthon, glfw, gitpython, gevent, freetype-py, esprima, arabic-reshaper, psychopy
Running setup.py install for pyo ... error
ERROR: Command errored out with exit status 1:
command: /Users/maiyunfei/miniconda3/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/2z/4543bg893mn2dhg0bkv5yyy80000gn/T/pip-install-i7uic55h/pyo_389defabfdba4fd4b01cfffad6950a93/setup.py'"'"'; __file__='"'"'/private/var/folders/2z/4543bg893mn2dhg0bkv5yyy80000gn/T/pip-install-i7uic55h/pyo_389defabfdba4fd4b01cfffad6950a93/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /private/var/folders/2z/4543bg893mn2dhg0bkv5yyy80000gn/T/pip-record-5hkcve5w/install-record.txt --single-version-externally-managed --compile --install-headers /Users/maiyunfei/miniconda3/include/python3.8/pyo
cwd: /private/var/folders/2z/4543bg893mn2dhg0bkv5yyy80000gn/T/pip-install-i7uic55h/pyo_389defabfdba4fd4b01cfffad6950a93/
Complete output (5 lines):
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/Users/maiyunfei/miniconda3/lib/python3.8/tokenize.py", line 392, in open
buffer = _builtin_open(filename, 'rb')
FileNotFoundError: [Errno 2] No such file or directory: '/private/var/folders/2z/4543bg893mn2dhg0bkv5yyy80000gn/T/pip-install-i7uic55h/pyo_389defabfdba4fd4b01cfffad6950a93/setup.py'
----------------------------------------
ERROR: Command errored out with exit status 1: /Users/maiyunfei/miniconda3/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/2z/4543bg893mn2dhg0bkv5yyy80000gn/T/pip-install-i7uic55h/pyo_389defabfdba4fd4b01cfffad6950a93/setup.py'"'"'; __file__='"'"'/private/var/folders/2z/4543bg893mn2dhg0bkv5yyy80000gn/T/pip-install-i7uic55h/pyo_389defabfdba4fd4b01cfffad6950a93/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /private/var/folders/2z/4543bg893mn2dhg0bkv5yyy80000gn/T/pip-record-5hkcve5w/install-record.txt --single-version-externally-managed --compile --install-headers /Users/maiyunfei/miniconda3/include/python3.8/pyo Check the logs for full command output.