I have installed ibm_db2_sa driver. But when I am going to installed ibm_db2 driver its gives following error
Collecting ibm_db Using cached https://files.pythonhosted.org/packages/f8/6f/5f8186cb31021409235a948be5e29d77761ef92747a101360003747c4105/ibm_db-2.0.8.tar.gz Building wheels for collected packages: ibm-db Running setup.py bdist_wheel for ibm-db ... error Complete output from command /home/siddhesh/Envs/agentenv/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-yra9wier/ibm-db/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" bdist_wheel -d /tmp/pip-wheel-8dx4t69k --python-tag cp35: Traceback (most recent call last): File "<string>", line 1, in <module> File "/tmp/pip-install-yra9wier/ibm-db/setup.py", line 17, in <module> os.rename('tests','test_2') OSError: [Errno 39] Directory not empty: 'tests' -> 'test_2' ---------------------------------------- Failed building wheel for ibm-db Running setup.py clean for ibm-db Complete output from command /home/siddhesh/Envs/agentenv/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-yra9wier/ibm-db/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" clean --all: Traceback (most recent call last): File "<string>", line 1, in <module> File "/tmp/pip-install-yra9wier/ibm-db/setup.py", line 17, in <module> os.rename('tests','test_2') OSError: [Errno 39] Directory not empty: 'tests' -> 'test_2' ---------------------------------------- Failed cleaning build dir for ibm-db Failed to build ibm-db Installing collected packages: ibm-db Running setup.py install for ibm-db ... error Complete output from command /home/siddhesh/Envs/agentenv/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-yra9wier/ibm-db/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-record-hfsln98x/install-record.txt --single-version-externally-managed --compile --install-headers /home/siddhesh/Envs/agentenv/include/site/python3.5/ibm-db: Traceback (most recent call last): File "<string>", line 1, in <module> File "/tmp/pip-install-yra9wier/ibm-db/setup.py", line 17, in <module> os.rename('tests','test_2') OSError: [Errno 39] Directory not empty: 'tests' -> 'test_2' ---------------------------------------- Command "/home/siddhesh/Envs/agentenv/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-yra9wier/ibm-db/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-record-hfsln98x/install-record.txt --single-version-externally-managed --compile --install-headers /home/siddhesh/Envs/agentenv/include/site/python3.5/ibm-db" failed with error code 1 in /tmp/pip-install-yra9wier/ibm-db/ On Thursday, May 10, 2018 at 4:44:55 PM UTC+5:30, Anvith Shivakumara wrote: > > Installing sqlalchemy does not mean all the supported drivers also get > installed. > > So, as a first step, please make sure you have ibm_db drivers installed. > > You could do that using pip. > -- SQLAlchemy - The Python SQL Toolkit and Object Relational Mapper http://www.sqlalchemy.org/ To post example code, please provide an MCVE: Minimal, Complete, and Verifiable Example. See http://stackoverflow.com/help/mcve for a full description. --- You received this message because you are subscribed to the Google Groups "sqlalchemy" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/sqlalchemy. For more options, visit https://groups.google.com/d/optout.
