




















I have had no luck getting PsychoPy to work with Python 3.10 or even with early python versions in a virtual environment and using pip. I cannot even get PsychoPy to give me an error message that I can start to debug from.
Passing the unit tests means that if the PsychoPy developers did their job, then there are not any missing dependencies and/or version conflicts. In my experience with the package, failed unit tests likely means a missing dependency that needs to be packaged.
@31415926 what happens when you try and start the app or when you install python-pytest and run
/usr/bin/py.test /usr/lib/python3.9/site-packages/psychopy/tests/
Do unit tests need to be done manually? Are passed unit tests the responsibility of AUR packaging? Updating pkgver and sha512sums is enough to make psychopy-2021.2.3 build successfully with makepkg on my computer.
I am having trouble getting version 2021.1.4 to pass the unit tests. There is an issue with moviepy and the decorator version that I am ignoring. I fail a bunch of tests that I did not used to. There are errors on other tests and when I run the test_Wizard.py tests, I get a seg fault. If anyone has work arounds that lets the package pass the tests, I am happy to take the help.
@daniel_shub Thanks. Yup, removing from requires files does the job. BTW, I looked at the PsychoPy code. opencv is used as cv2 import for MovieStim2 only. Since cv2 is provided by opencv package it should work fine (haven't tested as I don't have any experiment that use movie2 simuli). So, I guess just patching setup.cfg to remove opencv-python during build should do the trick.
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。
@MarSeed I have no doubt that it should work, but I just tried again and I cannot get it to work. I am still cannot even get it to spit out a useful error message. If you can get it to work or have some ideas, I would be happy for the help.