import arcgisscripting

04-02-2016 09:08 AM
New Contributor

Hi everyone,

I'm trying to configure my first geodatabase with PostgreSQL on my ArcGIS for server, which is install in a CentOS (Linux) server.

Following this tutorial : Configurer une géodatabase dans PostgreSQL sous Linux—Aide | ArcGIS for Desktop

I have a problem when I try to run the Python script. My script is based in the arcpy file but when I execute it, I get the following error :

Traceback (most recent call last):

  File "./", line 8, in <module>

    import arcpy

  File "/home/quentin/arcgis/server/arcpy/arcpy/", line 21, in <module>

    from arcpy.geoprocessing import gp

  File "/home/quentin/arcgis/server/arcpy/arcpy/geoprocessing/", line 14, in <module>

    from _base import *

  File "/home/quentin/arcgis/server/arcpy/arcpy/geoprocessing/", line 14, in <module>

    import arcgisscripting

ImportError: No module named arcgisscripting

I understand that the _base_py file can't found the arcgisscripting.pyd which is not located in server/arcpy/ but in server/bin

I try to enter the path server/bin in PYTHONPATH but it not work.

Is anyone have already encountered a similar problem of import? I feel that this is a simple mistake but I confess I do not know Python.


0 Kudos
1 Reply
New Contributor



I encountered the same error. Did you find out a solution?


0 Kudos