Skip to content

Commit

Permalink
PKG: exclude psychtoolbox on arm64 chips
Browse files Browse the repository at this point in the history
It does now install a wheel but then fails to load with

```
  File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/psychtoolbox/__init__.py", line 31, in <module>
    from .PsychPortAudio import PsychPortAudio
ImportError: dlopen(/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/psychtoolbox/PsychPortAudio.cpython-310-darwin.so, 0x0002): symbol not found in flat namespace '_PaMacCore_GetBufferSizeRange'
```
  • Loading branch information
peircej committed Jul 26, 2024
1 parent b908d5b commit 401b5f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ dependencies = [
"soundfile",
"imageio",
"imageio-ffmpeg",
"psychtoolbox",
"psychtoolbox; platform_machine!='arm64'",
# for iohub
"pywinhook; platform_system == \"Windows\"",
"gevent",
Expand Down

0 comments on commit 401b5f8

Please sign in to comment.