How does FME use Python?
After installing FME, in the installation path of FME, find the fmeobjects folder (C:\Program Files\FME\fmeobjects)
In the fmeobjects folder, we can see a folder named Python version. Due to different versions of FME, the supported Python versions are different (take FME 2018 x64 as an example)
Select the required version and copy all the files inside
Paste the copied file into the Lib\site-packages path of the corresponding Python version. Take Anaconda's virtual environment named arcpy2 as an example, it should be pasted under the path C:\Users\lqq\Anaconda3\envs\arcpy2\Lib\site-packages
Then in Jupyter, you can import pyfme normally
For the specific content of pyfme, you can visit: https://docs.safe.com/fme/html/fmepython/
The above is the whole content of this article, I hope it will be helpful to everyone's study.
Recommended Posts