python - McAfee Endpoint 安全警报“系统资源不足”在 Python 中使用 cx_Oracle:
问题描述
我在 Python 中使用了一段时间的 Cx_oracle,但我最近无法在 Python 中导入 cx_oracle 并收到此错误:
ImportError: DLL load failed: Insufficient system resources exist to complete the requested service.
此外,我收到 McAfee 安全警报,如下所示:
我重新安装了 cx_oracle 几次,但没有成功。有什么建议么?
解决方案
最简单的答案是使用cx_Oracle
以下命令的旧版本:
pip uninstall cx_Oracle
pip install -Iv cx_Oracle=="enter the version number here"
原因是 McAfee 可能未与最新版本的 cx_Oracle 或任何其他 Python 模块集成。
还有其他几种解决方案,包括:
- 卸载 McAfee 或您拥有的任何防病毒软件
- 更新驱动程序
- 扫描磁盘驱动程序以解决问题
- 修改注册表
推荐阅读
- python - 如何创建一个仅选择值大于 avg +/* Pandas 标准差的行的数据框?
- javascript - 从外部 js 调用 react 组件和函数
- syntax - 在不同的文件中使用相同的 begin-for-syntax 定义
- java - Google Cloud Debugger 找不到部署为 Cloud Run 服务的 Spring Boot Web 应用
- javascript - 传单搜索自定义结果标记
- javascript - Apexcharts 在事件中更新 React 状态
- c# - 术语“Get-ADFineGrainedPasswordPolicySubject”未被识别为命令行开关。从 powershell 在 C# 中执行时
- powershell - 如何停止并行线程
- python - 从泊松中为矩阵中的每个值绘制随机变量
- dart - 错误:不能将参数类型“字符串”分配给参数类型“Uri”