我有一个带有一点python的django应用程序。 在升级到mojave之前,我编译了我的cython文件,一切正常。 因为Mojave,我不能再编译或运行服务器了。 我总是犯同样的错误:
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/importlib/__init__.py", line 37, in import_module
__import__(name)
ImportError: dlopen(/project/algos/models.so, 2): no suitable image found. Did find:
/project/algos/models.so: unknown file type, first eight bytes: 0x7F 0x45 0x4C 0x46 0x02 0x01 0x01 0x00
/project/algos/models.so: unknown file type, first eight bytes: 0x7F 0x45 0x4C 0x46 0x02 0x01 0x01 0x00
我不知道问题从哪里来。你知道吗
合同通用条款-v
Configured with: -- prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1
Apple LLVM version 10.0.0 (clang-1000.11.45.5)
Target: x86_64-apple-darwin18.2.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
安装包:
open /Library/Developer/CommandLineTools/Packages/macOS_SDK_headers_for_macOS_10.14.pkg
返回命令xcode select--install:
xcode-select: error: command line tools are already installed, use "Software Update" to install updates
MacOS版本:10.14.2 Xcode版本:10.1版
目前没有回答
相关问题 更多 >
编程相关推荐