Skip to main content

Hello everyone,

 

I recently tried to install the paramiko library in my FME environment using the command:

fme.exe python -m pip install paramiko --target C:\\Users\\NMI\\Documents\\FME\\Plugins\\Python

 

On my local machine it works as expected. When I try to install it at the customer however it fails with the error message: Installing build dependencies: finished with status 'error'

 

Further in the log it returns the following information (newline characters have been added to improve the readability):

 

Expected an even number of command line arguments, instead got 9 for command line: >> 

`pip' 

`install' 

`--ignore-installed' 

`--no-user' 

`--prefix' 

`C:\\Users\\NMI\\AppData\\Local\\Temp\\pip-build-env-ilnw8_md' 

`https://files.pythonhosted.org/packages/c3/a9/5dc32465951cf4812e9e93b4ad2d314893c2fa6d5f66ce5c057af6e76d85/setuptools-49.6.0-py3-none-any.whl#sha256=4dd5bb0a0a0cff77b46ca5dd3a84857ee48c83e8223886b556613c724994073f' 

`https://files.pythonhosted.org/packages/a7/00/3df031b3ecd5444d572141321537080b40c1c25e1caa3d86cdd12e5e919c/wheel-0.35.1-py2.py3-none-any.whl#sha256=497add53525d16c173c2c1c733b8f655510e909ea78cc0e29d374243544b77a2' 

`https://files.pythonhosted.org/packages/c6/8f/dfb115c3ff7fdfb49e47d0e4cd0566c62e94427e90e22f0e5f6ec84be7d9/cffi-1.14.2-cp37-cp37m-win_amd64.whl#sha256=e4b9b7af398c32e408c00eb4e0d33ced2f9121fd9fb978e6c1b57edd014a7d15'

 

Has anyone encountered a similar issue before?

 

All help is greatly appreciated.

 

Hi @kd​ 

 

What version of FME is installed on your local machine versus the customer's machine?

 

I was able to replicate a similar error using FME 2020.0 and older. I believe you are seeing this behaviour due to a bug where FME is unable to install Python packages distributed as *.tar.gz.

 

This issue has been fixed in 2020.1 builds. Are you able to try on the customer machine using 2020.1?


Hi @kd​ 

 

What version of FME is installed on your local machine versus the customer's machine?

 

I was able to replicate a similar error using FME 2020.0 and older. I believe you are seeing this behaviour due to a bug where FME is unable to install Python packages distributed as *.tar.gz.

 

This issue has been fixed in 2020.1 builds. Are you able to try on the customer machine using 2020.1?

Hi @debbiatsafe (Safer)​ ,

 

Installing FME 2020.1 did the trick. Everything works as expected now.

It's a bit weird though that it did work on my own machine initially since I was using the exact same build number as the customer (2020.0.2.1 - Build 20238 - win64).

 

Thanks for the support!


Reply