Python from ArcGIS Server 10.9.1

760
3
Jump to solution
07-18-2022 12:03 PM
Rodrigo_DaSilva
New Contributor III

Hey everyone,

I don't know if this is the correct channel...
I'm having a problem installing a custom library to Python from ArcGIS Server.

Environmental considerations:

  • Linux Operating System
  • ArcGIS Enterprise 10.9.1 (was migrated from 10.8.1 recently)
  • Library that will be installed: ReportLab v.2.7

    Error print: https://prnt.sc/smYeib7kQ7JL

Reference documentation: https://enterprise.arcgis.com/en/server/latest/publish-services/linux/deploying-custom-python-packag...
" Start the wine explorer application. At the terminal, paste this command:
. <ArcGISServer_InstallDir>/arcgis/server/framework/etc/arcenv; wine explorer & "

Best Regards,

0 Kudos
2 Solutions

Accepted Solutions
ElizabethLorenaRodriguez
New Contributor III

Hello @Rodrigo_DaSilva 

 

I think the problem is related with the runtime for ArcGIS Server. In version 10.9.1 ArcGIS only uses Python 3.0, but you can add the runtime in the installation process:

https://enterprise.arcgis.com/en/server/latest/administer/windows/disable-arcmap-runtime.htm

 

 

 

View solution in original post

0 Kudos
ElizabethLorenaRodriguez
New Contributor III

You can enable ArcMap Runtime Support and install Python 2.x by following the steps above to modify an installation and enabling the ArcMap Runtime Support feature.

You can also enable ArcMap Runtime Support and install Python 2.x using the ADDLOCAL command line parameter:

  • ADDLOCAL=<optional features to install>

    Use the ArcMap property to enable ArcMap Runtime Support.

setup.exe /qb ADDLOCAL=ArcMap

View solution in original post

3 Replies
ElizabethLorenaRodriguez
New Contributor III

Hello @Rodrigo_DaSilva 

 

I think the problem is related with the runtime for ArcGIS Server. In version 10.9.1 ArcGIS only uses Python 3.0, but you can add the runtime in the installation process:

https://enterprise.arcgis.com/en/server/latest/administer/windows/disable-arcmap-runtime.htm

 

 

 

0 Kudos
ElizabethLorenaRodriguez
New Contributor III

You can enable ArcMap Runtime Support and install Python 2.x by following the steps above to modify an installation and enabling the ArcMap Runtime Support feature.

You can also enable ArcMap Runtime Support and install Python 2.x using the ADDLOCAL command line parameter:

  • ADDLOCAL=<optional features to install>

    Use the ArcMap property to enable ArcMap Runtime Support.

setup.exe /qb ADDLOCAL=ArcMap

Rodrigo_DaSilva
New Contributor III

Hi @ElizabethLorenaRodriguez

Thanks for your contribution

Although some time has passed, I saw your answer and the insight to solve my problem.

Best regards,


 

0 Kudos