2475566 - "LookupError: unknown encoding" error happened - SAP IQ | SAP Knowledge Base Article

SAP Knowledge Base Article - Preview

2475566 - "LookupError: unknown encoding" error happened - SAP IQ


When trying to connect to an IQ database and run a python script, an error below happened.

C:\IQ16\IQ-16_0\SDK\Python\Scripts>C:\Python\Python36-32\python test.py
Traceback (most recent call last):
File "test.py", line 24, in <module>
con = sqlanydb.connect(userid='DBA', password='sql', dbn='VMNLSIQ', eng='VMNLSIQ', commlinks='tcpip{host=x.x.193.143;port=2638}')
File "C:\Python\Python36-32\lib\site-packages\sqlanydb-1.0.6-py3.6.egg\sqlanydb.py", line 466, in connect
File "C:\Python\Python36-32\lib\site-packages\sqlanydb-1.0.6-py3.6.egg\sqlanydb.py", line 505, in __init__
LookupError: unknown encoding: IBM949



SAP IQ 16.0 SP11 PL07
Python 3.6.1


SAP IQ 16.0


SAP IQ, IQ, python, lookuperror, unknown encoding , KBA , BC-SYB-IQ , Sybase IQ , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP ONE Support launchpad (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.