distutils.errors.DistutilsSetupError: cannot locate an Oracle software insta
来源:互联网 发布:系统修复软件 编辑:程序博客网 时间:2024/06/06 08:35
检测:
1. echo $ORACLE_HOME是否正确输出oracle-client的路径
2. env | grep ORACLR_HOME 是否也正确输出
若以上输出有问题或无输出,
那么我们这么办:
1.检查/etc/profile 配置是否正确(不要忘记export ORACLE_HOME),确认是否忘记source /etc/profile
2.sudo visudo (第二种情况的链接:http://lorcancoyle.org/wiki/public/cxoracle)
# Defaults specificationDefaults env_resetDefaults env_keep += "BLOCKSIZE"Defaults env_keep += "COLORFGBG COLORTERM"Defaults env_keep += "__CF_USER_TEXT_ENCODING"Defaults env_keep += "CHARSET LANG LANGUAGE LC_ALL LC_COLLATE LC_CTYPE"Defaults env_keep += "LC_MESSAGES LC_MONETARY LC_NUMERIC LC_TIME"Defaults env_keep += "LINES COLUMNS"Defaults env_keep += "LSCOLORS"Defaults env_keep += "SSH_AUTH_SOCK"Defaults env_keep += "TZ"Defaults env_keep += "DISPLAY XAUTHORIZATION XAUTHORITY"Defaults env_keep += "EDITOR VISUAL"
and if you find them, add the following line and save the file and exit:
Defaults env_keep += "ORACLE_HOME"
0 0
- distutils.errors.DistutilsSetupError: cannot locate an Oracle software insta
- Categories of Software Errors
- cannot locate 'rand'...
- distutils.errors.DistutilsError: Setup script exited with error: Unable to find vcvarsall.bat
- Cannot locate resource 'app.xaml'
- No enclosing instance of type E is accessible. Must qualify the allocation with an enclosing insta
- An Introduction to Software Engineering
- Managing an Agile Software Project
- an software engineer should be
- To be an software enginneer.
- oracle datagurad errors
- Oracle - Import datapump errors
- Cannot start session without errors, please check errors 错误解决办法
- 500 OOPS:cannot locate user entry:nobody
- UnsatisfiedLinkError errordlopen failed: cannot locate symbol "rand"
- (OK) cannot locate symbol "__sF" referenced by
- configure: error: Cannot locate header file libint
- dlopen failed: cannot locate symbol "__aeabi_memclr8"
- Object-c创建自定义类
- 如何比对两个版本的Word文档
- Spring官方网站改版后的下载地址
- dojo famater 自定义转换颜色
- 批量添加hadoop节点,初始化hadoop机器
- distutils.errors.DistutilsSetupError: cannot locate an Oracle software insta
- poj_3259
- unity3d 4.6RectTransform 的一些设置
- 触发器判断更改的行或列
- android内置浏览器不支持websocket的解决方法
- Android 打造炫目的圆形菜单 秒秒钟高仿建行圆形菜单
- -boundingRectWithSize:options:attributes:context:用法
- 基础的数论知识
- perl 多线程及信号控制