<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Error on import arcpy in Linux in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/error-on-import-arcpy-in-linux/m-p/1040686#M60554</link>
    <description>&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;I need to run python script to do something on GIS data.&lt;/P&gt;&lt;P&gt;I really have problem to configure a Python enviroment (arcpy 3.6). I cannot install nothing on user path due the customer security raccomandation. I must install at the same mount point of ArcGIS Server installation folder.&lt;/P&gt;&lt;P&gt;Here my procedure:&lt;/P&gt;&lt;P&gt;Install and authorize ArcGIS Server on /arcgis/software/arcgis/&lt;BR /&gt;Install Anaconda (latest) on /arcgis/software/anaconda3&lt;BR /&gt;Creation of virtual env (with conda create --name py36 python=3.6)&lt;BR /&gt;Install esri package (with conda install -c esri arcgis-server-py3=10.8.0)&lt;/P&gt;&lt;P&gt;activate conda enviroment and importing arcpy i've got this error message:&lt;BR /&gt;Traceback (most recent call last):&lt;BR /&gt;File "&amp;lt;stdin&amp;gt;", line 1, in &amp;lt;module&amp;gt;&lt;BR /&gt;File "/arcgis/software/anaconda3/envs/py36/lib/python3.6/site-packages/arcpy/__init__.py", line 74, in &amp;lt;module&amp;gt;&lt;BR /&gt;from arcpy.geoprocessing import gp&lt;BR /&gt;File "/arcgis/software/anaconda3/envs/py36/lib/python3.6/site-packages/arcpy/geoprocessing/__init__.py", line 14, in &amp;lt;module&amp;gt;&lt;BR /&gt;from ._base import *&lt;BR /&gt;File "/arcgis/software/anaconda3/envs/py36/lib/python3.6/site-packages/arcpy/geoprocessing/_base.py", line 14, in &amp;lt;module&amp;gt;&lt;BR /&gt;import arcgisscripting&lt;BR /&gt;File "/arcgis/software/anaconda3/envs/py36/lib/python3.6/site-packages/arcgisscripting/__init__.py", line 119, in &amp;lt;module&amp;gt;&lt;BR /&gt;from ._arcgisscripting import *&lt;BR /&gt;RuntimeError: The software is not authorized for use.&lt;/P&gt;&lt;P&gt;i'm also trying to set ARGISHOME variable before installing esri package, but the error is the same&lt;/P&gt;&lt;P&gt;There is a guide or step to follow to do that? I really appreciate any help.&lt;BR /&gt;P.S. linux version is openSUSE and ArcGIS Server 10.8&lt;/P&gt;</description>
    <pubDate>Thu, 25 Mar 2021 17:20:58 GMT</pubDate>
    <dc:creator>FlavioP</dc:creator>
    <dc:date>2021-03-25T17:20:58Z</dc:date>
    <item>
      <title>Error on import arcpy in Linux</title>
      <link>https://community.esri.com/t5/python-questions/error-on-import-arcpy-in-linux/m-p/1040686#M60554</link>
      <description>&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;I need to run python script to do something on GIS data.&lt;/P&gt;&lt;P&gt;I really have problem to configure a Python enviroment (arcpy 3.6). I cannot install nothing on user path due the customer security raccomandation. I must install at the same mount point of ArcGIS Server installation folder.&lt;/P&gt;&lt;P&gt;Here my procedure:&lt;/P&gt;&lt;P&gt;Install and authorize ArcGIS Server on /arcgis/software/arcgis/&lt;BR /&gt;Install Anaconda (latest) on /arcgis/software/anaconda3&lt;BR /&gt;Creation of virtual env (with conda create --name py36 python=3.6)&lt;BR /&gt;Install esri package (with conda install -c esri arcgis-server-py3=10.8.0)&lt;/P&gt;&lt;P&gt;activate conda enviroment and importing arcpy i've got this error message:&lt;BR /&gt;Traceback (most recent call last):&lt;BR /&gt;File "&amp;lt;stdin&amp;gt;", line 1, in &amp;lt;module&amp;gt;&lt;BR /&gt;File "/arcgis/software/anaconda3/envs/py36/lib/python3.6/site-packages/arcpy/__init__.py", line 74, in &amp;lt;module&amp;gt;&lt;BR /&gt;from arcpy.geoprocessing import gp&lt;BR /&gt;File "/arcgis/software/anaconda3/envs/py36/lib/python3.6/site-packages/arcpy/geoprocessing/__init__.py", line 14, in &amp;lt;module&amp;gt;&lt;BR /&gt;from ._base import *&lt;BR /&gt;File "/arcgis/software/anaconda3/envs/py36/lib/python3.6/site-packages/arcpy/geoprocessing/_base.py", line 14, in &amp;lt;module&amp;gt;&lt;BR /&gt;import arcgisscripting&lt;BR /&gt;File "/arcgis/software/anaconda3/envs/py36/lib/python3.6/site-packages/arcgisscripting/__init__.py", line 119, in &amp;lt;module&amp;gt;&lt;BR /&gt;from ._arcgisscripting import *&lt;BR /&gt;RuntimeError: The software is not authorized for use.&lt;/P&gt;&lt;P&gt;i'm also trying to set ARGISHOME variable before installing esri package, but the error is the same&lt;/P&gt;&lt;P&gt;There is a guide or step to follow to do that? I really appreciate any help.&lt;BR /&gt;P.S. linux version is openSUSE and ArcGIS Server 10.8&lt;/P&gt;</description>
      <pubDate>Thu, 25 Mar 2021 17:20:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/error-on-import-arcpy-in-linux/m-p/1040686#M60554</guid>
      <dc:creator>FlavioP</dc:creator>
      <dc:date>2021-03-25T17:20:58Z</dc:date>
    </item>
  </channel>
</rss>

