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.
-Allen
P.S. I have used “pip install psychopy” within the last year to install PsychoPy on Ubuntu and it worked perfectly.
That’s an interesting one. I have been working on the setup.py a lot lately, so that the dependencies get included too, so maybe something has gone wrong there or maybe it’s because I’ve built them on a mac and accidentally included something I shouldn’t have done.
I had the same problem when running pip install psychopy==1.85.6 on Windows 10.
I got stuck at pyobjc-framework-Quartz for over half an hour. pip install psychopy==1.85.3 ran without any problems.