如何将 savReaderWriter 与 pypy3 一起使用,或者有更好的选择吗?
How do I use savReaderWriter with pypy3, or is there a better alternative?
所以我设法为 pypy3 安装了 savReaderWriter,但是当我尝试使用 SavReader
读取文件时,出现以下错误:
OSError: Cannot load library /usr/local/Cellar/pypy3/7.3.1_1/libexec/site-packages/savReaderWriter/spssio/macos/libspssdio.dylib: dlopen(/usr/local/Cellar/pypy3/7.3.1_1/libexec/site-packages/savReaderWriter/spssio/macos/libspssdio.dylib, 2): Symbol not found: _CFLocaleCopyCurrent
Referenced from: /usr/local/Cellar/pypy3/7.3.1_1/libexec/site-packages/savReaderWriter/spssio/macos//libspssdio.dylib
Expected in: flat namespace
in /usr/local/Cellar/pypy3/7.3.1_1/libexec/site-packages/savReaderWriter/spssio/macos//libspssdio.dylib
看来问题是 Symbol not found: _CFLocaleCopyCurrent
,但我不知道如何解决这个问题。有什么想法吗?
这似乎适用于最新的 pypy3 版本。
所以我设法为 pypy3 安装了 savReaderWriter,但是当我尝试使用 SavReader
读取文件时,出现以下错误:
OSError: Cannot load library /usr/local/Cellar/pypy3/7.3.1_1/libexec/site-packages/savReaderWriter/spssio/macos/libspssdio.dylib: dlopen(/usr/local/Cellar/pypy3/7.3.1_1/libexec/site-packages/savReaderWriter/spssio/macos/libspssdio.dylib, 2): Symbol not found: _CFLocaleCopyCurrent
Referenced from: /usr/local/Cellar/pypy3/7.3.1_1/libexec/site-packages/savReaderWriter/spssio/macos//libspssdio.dylib
Expected in: flat namespace
in /usr/local/Cellar/pypy3/7.3.1_1/libexec/site-packages/savReaderWriter/spssio/macos//libspssdio.dylib
看来问题是 Symbol not found: _CFLocaleCopyCurrent
,但我不知道如何解决这个问题。有什么想法吗?
这似乎适用于最新的 pypy3 版本。