cx_oracle ImportError: DLL load failed: 找不到指定的程序
2015-02-03 14:49
615 查看
网上找了一圈方法,有如下:
1、复制oci.dll到$python_home (比如c:/python26)解决的
2、复制oci.dll到$python_home和C:\Python33\Lib\site-packages 下解决的
3、老外是重装解决的。
I was able to solve this problem with the following steps:
Download instantclient-basic-win32-10.2.0.5 from Oracle
Website
unzipped the into my c:\ with the name oraclient
Created the directory structure C:\oraclient\network\admin to add the TNSNAMES.ORA
Added the TNS_ADMIN env var pointing to C:\oraclient\network\admin
Added the ORACLE_HOME env var pointing to C:\oraclient\
http://stackoverflow.com/questions/13708998/cx-oracle-and-python-2-7
我的解决方法:
最后折腾了一个上午,终于在一个偏僻的论坛看见一个偏方。下载一个
然后复制到C:\Python33\Lib\site-packages搞定。
本来是32位系统,为了照顾plsql用的32位的cline,python和cx_Oracle也下载的32位的。
顺便附上下载链接:
下载安装cx_Oracle包
http://cx-oracle.sourceforge.net/
python
https://www.python.org/downloads/
oracle
http://www.oracle.com/technetwork/topics/winsoft-085727.html
1、复制oci.dll到$python_home (比如c:/python26)解决的
2、复制oci.dll到$python_home和C:\Python33\Lib\site-packages 下解决的
3、老外是重装解决的。
I was able to solve this problem with the following steps:
Download instantclient-basic-win32-10.2.0.5 from Oracle
Website
unzipped the into my c:\ with the name oraclient
Created the directory structure C:\oraclient\network\admin to add the TNSNAMES.ORA
Added the TNS_ADMIN env var pointing to C:\oraclient\network\admin
Added the ORACLE_HOME env var pointing to C:\oraclient\
http://stackoverflow.com/questions/13708998/cx-oracle-and-python-2-7
我的解决方法:
最后折腾了一个上午,终于在一个偏僻的论坛看见一个偏方。下载一个
instantclient-basic-win32-10.2.0.4.zip
然后复制到C:\Python33\Lib\site-packages搞定。本来是32位系统,为了照顾plsql用的32位的cline,python和cx_Oracle也下载的32位的。
顺便附上下载链接:
下载安装cx_Oracle包
http://cx-oracle.sourceforge.net/
python
https://www.python.org/downloads/
oracle
http://www.oracle.com/technetwork/topics/winsoft-085727.html
相关文章推荐
- cx_Oracle ImportError: DLL load failed: 找不到指定的模块 解决 -->复制oci.dll到$python_home
- cx_Oracle ImportError: DLL load failed: 找不到指定的模块 解决
- 关于在安装matplotlib中遇到ImportError: DLL load failed:找不到指定程序的解决办法
- 解决安装python matplotlib包时出现”ImportError: DLL load failed: 找不到指定的程序“ 的问题
- Python oracle ImportError: DLL load failed: 找不到指定的程序 or dll load failed 不是有效的 win32 应用程序。
- ImportError:DLL load failed:找不到指定的程序
- import cx_Oracle,ImportError: DLL load failed: 找不到指定的模块
- SQLAlchemy连接mysql时,所出现的importerror: dll load failed: 找不到指定模块
- 【python】pywin32 ImportError: DLL load failed: 找不到指定的模块
- ImportError: DLL load failed: 找不到指定的模块。
- 解决-win10系统-python3中import cv2显示"ImportError: DLL load failed: 找不到指定的模块。"
- python 找不到mysqldb模块(ImportError: DLL load failed: 找不到指定的模块)
- cx_Oracle - ImportError: DLL load failed: The specific module could not be found
- python2.7 sklearn 使用报错ImportError: DLL load failed: 找不到指定模块
- 解决python import sklearn 出现 ImportError: DLL load failed: 找不到指定的模块
- win10环境+pycharm+anaconda+python3.6+OpenCV3.3安装,ImportError: DLL load failed: 找不到指定的模块
- 在python3中import cv2显示"ImportError: DLL load failed: 找不到指定的模块。"
- ImportError: DLL load failed: 找不到指定的模块
- 运行Scrapy项目提示“import win32api ImportError: DLL load failed: 找不到指定的模块。”
- 终于解决了python 3.x import cv2 “ImportError: DLL load failed: 找不到指定的模块” 的问题