斯潘8
span4
An interpreter is a library which enables you to run Python scripts.This may also be referred to as a Python installation.FME installs its own Python interpreter,但你可能想换一个。
您可能会选择不同的python解释器,原因有很多:
如果要安装用于FME服务器的python,则应在python安装程序中选择“为所有用户安装”选项。另外,我们建议您使用选项“仅为我安装”。
还要注意,您将无法通过32位版本的FME使用64位python,or vice versa.
It depends on how you installed Python,and what your OS is.
If you installed 32-bit Python "for all users" on a 32-bit computer,it will be in c:\Windows\System32
如果您在64位计算机上为所有用户安装了32位python,它将在C:\Windows\SysWow64中
如果您在64位计算机上为所有用户安装了64位python,it will be in c:\Windows\System32 (I know,我也不。
如果你“为我”安装了python,it will be in the Python installation folder,例如c:\python26
To choose a different Python interpreter for FME requires you to select that Interpreter's DLL file.在2012年及以后的FME中,程序如下:
FME版本2011(及更早版本)没有python解释器选项。Therefore the procedure is more complex.
要么:
In doing this for 2011,there are known concerns or issues:
看到FME服务器管理员指南configure the python interpreter.
fme apply_settings“python/use custom python”true fme apply_settings“python/python解释器”
例如
fme apply_settings“python/python解释器”“c:/fmepython27”这应该在运行FME引擎的每台计算机上完成。
fme应用“python/use custom python”false
If for some reason you cannot change the user running the FME Server Windows service to the user you are logged in as it is also possible to redefine the Python Interpreter to use for the FME Engine by creating two registry entries.
The are two .reg files attached one for 32 bit and one for 64 bit FME.Chose the appropriate file and edit the path to the python interpreter to reflect the path that you want to use.You can then add the registry key by double clicking on the file.
It does not work for me in 2016.1
我有进口arcpy,但是启动失败了(如果我移除arcpy,它会很好地工作)
Installed ArcGIS version is '?.?' Could not open the Enterprise Geodatabase.
The error number from ArcObjects is: '-2147155644'.来自arcObjects的错误消息是:无法连接到数据库,因为数据库客户端软件加载失败。Be sure the database client software is installed and configured correctly.} Please ensure the connection parameters are correct (server=`GIS',instance=`sde:sqlserver:gis',用户=“MaBase'”,密码= ***,数据库='gisgeodbstg',version =“sde.DEFAULT”)
A fatal error has occurred.Check the logfile above for details
改为FME 2016.1的自定义解释器,改为Arcgis安装的10.3.1 python,好像一点都不管用
if i use import arcpy,工作台启动时出现故障。
进口弧度
is the only command i have in the startup to test if it works (if i remove the arcpy it works fine)
安装的Arcgis版本是'?“?”
无法打开企业地理数据库。The error number from ArcObjects is: '-2147155644'.来自arcObjects的错误消息是:无法连接到数据库,因为数据库客户端软件加载失败。Be sure the database client software is installed and configured correctly.}
Please ensure the connection parameters are correct (server=`GIS',instance=`sde:sqlserver:gis',用户=“MaBase'”,密码= ***,数据库='gisgeodbstg',version =“sde.DEFAULT”)
A fatal error has occurred.Check the logfile above for details
H@rudy_v谢谢你告诉我们这件事。This one is going to need some further investigation by our support team.Would you please file a case?Thanks.https://support.亚搏在线safe.com/knowledgeSubmitCase?
如何在同一台机器上为32位和64位FME安装设置不同的自定义python解释器
Example 亚搏在线Workflow using FME,Python and Oracle
Setting up a workspace to deploy in production,分段和本地
Run an FME Workspace from Python using FMEWorkspaceRunner
Will formats I develop with the FME Plug-in SDK be compatible with FME Server?
Extracting a schema subset for dynamic schemas
Pass a List of Tables or Layers to an FME Reader using Python Scripted Parameters
© 2019 亚搏在线Safe Software Inc |合法的