麦克雷 Mavom.cn

标题: MacBook m1 pro python cx-oracle提示不是x86如何... [打印本页]

作者: Chaarlespesy    时间: 2022-3-18 17:01
标题: MacBook m1 pro python cx-oracle提示不是x86如何...
MacBook m1 pro python各种环境都装起来。连接mysql也是没有问题的,但是连接由于cx-oracle是x86的,能够安装cx-oracle成功,但是就在连接的时候会提示:
cx_Oracle.DatabaseError: DPI-1047: Cannot locate a 64-bit Oracle Client library: "dlopen(libclntsh.dylib, 0x0001): tried: '/Users/xxxx/miniforge3/lib/libclntsh.dylib' (no such file), '/Users/xxxx/miniforge3/lib/libclntsh.dylib' (no such file), '/Users/xxxx/miniforge3/bin/../lib/libclntsh.dylib' (no such file), 'libclntsh.dylib' (no such file), '/usr/local/lib/libclntsh.dylib' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64e')), '/usr/lib/libclntsh.dylib' (no such file), '/Users/xxxx/eclipse-workspace/ekrehab/ekrehabnt/libclntsh.dylib' (no such file), '/usr/local/lib/libclntsh.dylib' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64e')), '/usr/lib/libclntsh.dylib' (no such file)". See https://cx-oracle.readthedocs.io/en/latest/user_guide/installation.html for help
求大神指教!
作者: m72833424    时间: 2022-3-18 17:01
<div class="content-rich-box rich-text-">M1兼容性的问题。
稍微熟悉计算机的人,一般都会有一个疑虑,M1本质上和苹果的A系芯片是一样的,都是ARM架构的。而无论是早期的Mac还是Windows PC,用的都是英特尔的处理器,..
虚拟机,
Parallels Desktop 17.1 最新版下载 - Mac 系统最强虚拟机 (支持M1/Win11/macOS Monterey)
arm--win11*ISO,




欢迎光临 麦克雷 Mavom.cn (http://www.mavom.cn/) Powered by Discuz! X3.5