Skip to main content
Solved

Library Python in FME

  • October 5, 2024
  • 2 replies
  • 225 views

mr_fme
Enthusiast
Forum|alt.badge.img+9

Hi,

I’m trying to use the mgrs library in FME, but the following error is shown:

Message Type: fme::internal::_v0::py::Exception
Python Exception: <ModuleNotFoundError>: No module named 'mgrs'

If I run it in a standalone script, it works very well. The library has been successfully installed on my machine.

Thank you.

Best answer by hkingsbury

how have you installed it and what python is your workspace set to use? (FME or ArcGIS)

If you’re using the FME defualt python, make sure you installed it using:

fme.exe python -m pip install <package_name>

from https://docs.safe.com/fme/html/FME-Form-Documentation/FME-Form/Workbench/Installing-Python-Packages.htm

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

2 replies

hkingsbury
Celebrity
Forum|alt.badge.img+64
  • Celebrity
  • Best Answer
  • October 7, 2024

how have you installed it and what python is your workspace set to use? (FME or ArcGIS)

If you’re using the FME defualt python, make sure you installed it using:

fme.exe python -m pip install <package_name>

from https://docs.safe.com/fme/html/FME-Form-Documentation/FME-Form/Workbench/Installing-Python-Packages.htm


mr_fme
Enthusiast
Forum|alt.badge.img+9
  • Author
  • Enthusiast
  • October 7, 2024

I´m set to use FME. Thank´s