I am trying to bundle a Psychopy application using py2exe on Windows 10. Because for some reason py2exe’s installer will not let me point it to the Python interpreter inside the Psychopy installation at C:\Program Files (x86)\PsychoPy2\python.exe, and it insists on C:\Python27\python.exe instead, I figured that I could just use the Psychopy manual install method to install all the Psychopy stuff with the interpreter which the py2exe installer wants to use.
Pip installs all the dependencies but hangs on installing PsychoPy:
pip install psychopy
Collecting pyobjc-framework-Quartz (from psychopy)
Using cached pyobjc-framework-Quartz-4.1.tar.gz
In addition to it hanging, it seems strange to me that it would be trying to install a Quartz objective-c Python framework on Windows.
There are other things I can try here, like trying harder to get py2exe to point to the other Python interpreter, using the Anaconda installer instead of pip to install PsychoPy, trying PyInstaller instead of py2exe, looking at the PsychoPy package to figure out where things are going south. However, that “pip install psychopy” was not working for me seemed worth mentioning here now.
P.S. I have used “pip install psychopy” within the last year to install PsychoPy on Ubuntu and it worked perfectly.