在安装好python3之后,使用pip install ibm_db总是报错。
然后按照官方文档的说明添加了环境变量IBM_DB_HOME
同时在命令行执行easy_install ibm_db就可以正常安装了。
然后可以在命令行执行python,然后在python命令行下执行import ibm_db就可以了。

另一种解决办法(未测试过):

This is a know issue with v 2.0.8 of ibm_db on Win7, since fixed, you can either install the fixed version or the previous version.

See github report

To install the fixed version:

pip install "ibm-db==2.0.8a"

To install the previous version:

pip install "ibm-db<2.0.8"

相关文章:

  • 2021-09-14
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-12-06
  • 2021-11-09
  • 2022-02-07
  • 2022-02-07
  • 2021-11-28
  • 2021-06-04
  • 2022-03-07
相关资源
相似解决方案