RuntimeError: The Product License has not been initialized.

03-02-2022 03:20 PM
by Anonymous User
Not applicable

Python version: 3.7

type: concurrent license use. using arcpy via ArcSDESQLExecute() to connect to SAP HANA dbs. But while executing the python code getting an error.

F:\ArcGIS\bin\Python\envs\arcgispro-py3\python.exe "C:\Program Files\JetBrains\PyCharm Community Edition 2019.3.3\plugins\python-ce\helpers\pydev\" --multiproc --qt-support=auto --client --port 54449 --file F:/Projects/Capton/Arcpy_Test/
pydev debugger: process 3332 is connecting


Connected to pydev debugger (build 193.6494.30)
Traceback (most recent call last):
File "<frozen importlib._bootstrap>", line 983, in _find_and_load
File "<frozen importlib._bootstrap>", line 967, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 728, in exec_module
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
File "F:\ArcGIS\Resources\ArcPy\arcpy\", line 90, in <module>
from arcpy.geoprocessing import gp
File "F:\ArcGIS\Resources\ArcPy\arcpy\geoprocessing\", line 14, in <module>
from ._base import *
File "F:\ArcGIS\Resources\ArcPy\arcpy\geoprocessing\", line 14, in <module>
import arcgisscripting
File "F:\ArcGIS\bin\Python\envs\arcgispro-py3\lib\site-packages\arcgisscripting\", line 128, in <module>
from ._arcgisscripting import *
RuntimeError: The Product License has not been initialized.


0 Kudos
0 Replies