span8
span4
span8
span4
I'm a novice in Python so excuse me if I ask something stupid.I read a lot pieces written on this subject but I can't get it to work...
I would like to use ArcPy on FME server 2016.1.I followed these指令but I get stuck on the step where I need to repackage:
Install the package with the following command:
python -m pip install--target C:\Users\ \Documents\FME\Plugins\Python
For example,to install a package named PyExecJS:
python -m pip install PyExecJS --target C:\Users\\Documents\FME\Plugins\Python
What package do I need to choose to get ArcPy included?
If you would like to use Esri formats or functionality (e.g.ArcPy) with FME Server,please do check out Esri's licensing terms,specifically,when their software is used within server enviroments.For more information,please see the following article which we have updated:https://knowledge.亚搏在线safe.com/articles/24153/using-fme-server-with-esri-software.html
In short: you can't use pip to install arcpy.
You'll have to make a licensed install of either ArcGIS Desktop,ArcGIS Server or ArcGIS Pro on the same machine as your FME Server installation.
See here for more information:https://knowledge.亚搏在线safe.com/articles/24153/using-fme-server-with-esri-software.html
You'll also want to pay particular attention to version compatibilities as documented here:https://knowledge.亚搏在线safe.com/articles/1517/notes-on-fme-and-esri-versions-and-compatibility.html
You then have to change the default Python interpreter on your FME Server to use the Python version that was installed as part of ArcGIS,see under the headline "Changing the Python Interpreter" here:https://docs.亚搏在线safe.com/fme/html/FME_Server_Documentation/Content/AdminGuide/Using-Python-with-FME_Server.htm
FME Server using SQLExecutor and PythonCaller2 Answers
Running arcpy in PythonCaller and shutdown script4 Answers
Python import error1 Answer
How can I upload zipped-up file geodatabase to FME Server and kick off a workspace using Python?2 Answers
arcpy geodatabase deletion script causing a fatal error in fme server2 Answers
© 2019 亚搏在线Safe Software Inc |Legal