Hi @dataninja
The version of pandas you are using requires a higher version of numpy than is shipped with the build of FME you are using.
If you do not need to use the latest version of the pandas module, you can try downloading an older version that is compatible with the shipped numpy module. For example, downloading pandas version 1.0.5 will work as it requires numpy 1.13.3 and higher. You can do so with this command:
fme python -m pip install pandas==1.0.5 --target <your_target_path>
Hi @dataninja
The version of pandas you are using requires a higher version of numpy than is shipped with the build of FME you are using.
If you do not need to use the latest version of the pandas module, you can try downloading an older version that is compatible with the shipped numpy module. For example, downloading pandas version 1.0.5 will work as it requires numpy 1.13.3 and higher. You can do so with this command:
fme python -m pip install pandas==1.0.5 --target <your_target_path>
Hi @debbiatsafe , I am still having the same issue unfortunately. I need to get it to work as soon as possible. Is it possible for me to share screen with you so we could trouble shoot the problem together? My email is tngo@tetrad.com. Thanks a lot in advance!
Hi @debbiatsafe , I am still having the same issue unfortunately. I need to get it to work as soon as possible. Is it possible for me to share screen with you so we could trouble shoot the problem together? My email is tngo@tetrad.com. Thanks a lot in advance!
Hi @dataninja
I have been out of office until today. Just wanted to check if you were able to resolve the numpy/pandas issue?
I'm using FME 2020.2 and I think this numpy error is related to this version as I had uninstalled 2020.13 and 2021.x where it was working. But generally it's very difficult to upgrade the FME python environment, even using cmd in administrator mode, throws up red errors.
And it's very frustrating that even using a custom python interpreter, FME still chooses to use some modules from it's core python 3.7 install.
Solution:
In a separate python 3.7 environment (you may need to download and install) copy a new version of numpy over to the FME folder.
- Make a Backup copy of the existing older numpy folders in the FME folder- keep safe (e.g. 'C:\\Program Files\\Safe\\FME\\2020\\python\\python37\\numpy' and '..\\numpy-1.15.1.dist-info' )
- Remove the older numpy folders you just backed-up
- Copy from your separate python environment the newer numpy folders to the FME folder (must be python 3.7 version, I personally have 3.7.6)
- Open FME and run the workbench to see the result from the pythonCallers