Installation Package python¶
Procédure pour utiliser pip avec FME : https://docs.safe.com/fme/html/FME_Desktop_Documentation/FME_QuickTranslator/Workbench/Installing-Python-Packages.htm
Pour utilisation avec FME Desktop, il est possible d’utiliser le répertoire utilisateur :
fme.exe python -m pip install openpyxl –target C:Users<user>DocumentsFMEPluginsPython
Pour utilisation avec GTF il est nécessaire d’installer le composant python dans l’instance python (ou éventuellement les instances python)
C:serveursfme2019.2fme.exe python -m pip install openpyxl –target C:serveursfme2019.0pythonpython37
si erreur : Error [WinError 2] Le fichier spécifié est introuvable while executing command python setup.py egg_info Could not install packages due to an EnvironmentError: [WinError 2] Le fichier spécifié est introuvable
ou : Command « python setup.py egg_info » failed with error code 9009 in C:UsersC_GIRA~1AppDataLocalTemppip-install-lv11w_u6openpyxl
alors: Installation des répertoires openpyxl et openpyxl-3.0.2.dist-info dans C:serveursfme2019.0python Installation de jdcal par pip : fme.exe python -m pip install jdcal –target C:/serveurs/fme2019.0/python
fme.exe python -m pip install openpyxl –target C:Usersc_giraultDocumentsFMEPluginsPython
fme.exe python -m pip install jdcal –target « C:Program FilesFME2019python » PermissionError: [WinError 5] Accès refusé: “C:\Program Files\FME2019\python\jdcal-1.4.1.dist-info”
fme.exe python -m pip install jdcal –target « C:Program FilesFME2019python » dans powershell