python-ibmdb: ibm_db 3.1.0 fails to pip install with python 3.8.10 linux

my environment:

ubuntu 20.04.2 x64 python version 3.8.10 pip version 21.2.4 setuptools version 58.2.0

After creating the venv, and activiating the venv, and ensuring its pip version is latest, I run this command:

pip install ibm_db

This fails with:

ERROR: Could not install packages due to an OSError: [Errno 2] No such file or directory: '/tmp/tmpquqn65ej/output.json'

The full text:

(venv1)$ pip install ibm_db Collecting ibm_db Using cached ibm_db-3.1.0.tar.gz (797 kB) Installing build dependencies … done Getting requirements to build wheel … done ERROR: Could not install packages due to an OSError: [Errno 2] No such file or directory: ‘/tmp/tmpr7np75f9/output.json’

Note that it makes no difference to the symptom whether IBM_DB_HOME variable is exported first or not. Also , it makes no difference if the pip version is older at 20.0.2.

Details below:

user3@myhostname:~$ python -m venv /home/user3/venv2


user3@myhostname:~$ source venv2/bin/activate
(venv2) user3@myhostname:~$ python -V
Python 3.8.10


(venv2) user3@myhostname:~$ python -m pip install --upgrade pip 
Collecting pip 
  Using cached pip-21.2.4-py3-none-any.whl (1.6 MB) 
Installing collected packages: pip 
  Attempting uninstall: pip 
    Found existing installation: pip 20.0.2
    Uninstalling pip-20.0.2:
      Successfully uninstalled pip-20.0.2
Successfully installed pip-21.2.4



(venv2) user3@myhostname:~$ python -m pip install --upgrade setuptools
Requirement already satisfied: setuptools in ./venv2/lib/python3.8/site-packages (44.0.0)
Collecting setuptools
  Using cached setuptools-58.2.0-py3-none-any.whl (946 kB) 
Installing collected packages: setuptools
  Attempting uninstall: setuptools
    Found existing installation: setuptools 44.0.0
    Uninstalling setuptools-44.0.0:
      Successfully uninstalled setuptools-44.0.0
Successfully installed setuptools-58.2.0



(venv2) user3@myhostname:~$ pip install ibm_db
Collecting ibm_db
  Using cached ibm_db-3.1.0.tar.gz (797 kB) 
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
ERROR: Could not install packages due to an OSError: [Errno 2] No such file or directory: '/tmp/tmp3a0pt79x/output.json'

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Reactions: 1
  • Comments: 16 (5 by maintainers)

Most upvoted comments

@qa-aleksejs-fomins The link is down again. Working with IBM to make it up. It should be up in couple of hours. Thanks.

@qa-aleksejs-fomins The issue (link) is #758