Skip to main content

I am trying to install Python pandas v0.20.2 and I am receiving the following :

 

C:\Users\x2fneal\Documents\FME\Plugins\python27>fme python -m easy_install panda
s-0.20.2
Processing pandas-0.20.2
Writing C:\Users\x2fneal\Documents\FME\Plugins\python27\pandas-0.20.2\setup.cfg
Running setup.py -q bdist_egg --dist-dir C:\Users\x2fneal\Documents\FME\Plugins\
python27\pandas-0.20.2\egg-dist-tmp-kzbgnp
warning: no files found matching 'README.rst'
no previously-included directories found matching 'doc\build'
warning: no previously-included files matching '*.so' found anywhere in distribu
tion
warning: no previously-included files matching '*.pyd' found anywhere in distrib
ution
warning: no previously-included files matching '*.pyc' found anywhere in distrib
ution
warning: no previously-included files matching '*~' found anywhere in distributi
on
warning: no previously-included files matching '#*' found anywhere in distributi
on
warning: no previously-included files matching '.git*' found anywhere in distrib
ution
warning: no previously-included files matching '.DS_Store' found anywhere in dis
tribution
warning: no previously-included files matching '*.png' found anywhere in distrib
ution
UPDATING build\lib.win32-2.7\pandas/_version.py
set build\lib.win32-2.7\pandas/_version.py to '0.20.2'
testing.c
pandas\_libs/testing.c(4) : fatal error C1083: Cannot open include file: 'Python
.h': No such file or directory
error: Setup script exited with error: command 'C:\\Users\\x2fneal\\AppData\\Loc
al\\Programs\\Common\\Microsoft\\Visual C++ for Python\\9.0\\VC\\Bin\\cl.exe' fa
iled with exit status 2

I have tried installing other versions with similar results.  Does anyone have any insight?

Thanks,

FME Desktop 2016 32-bit

Hi @fneal,

You might have figured it out yourself already, but I believe FME is not (really) the problem here.

 

Typically, when Python packages have dependencies (like Pandas), it's better to install the package using pip. You could then run the command fme python -m pip install pandas-0.20.2, but a better practice would be to install a custom Python interpreter first.


Thanks @sander_s.

I already had the the interpreter installed previously, but used pip to install the .whl file directly and that worked! FYI, trying to install it any other way (fme python -m easy_install pandas, for example) into FME did not work, regardless using pip or not.


Hello, I have installed pandas successfully in C:\\Users\\<>\\Documents\\FME\\Plugins\\Python\\python37 successfully. My Python interpreter in FME is pointing to Python 3.7+

I can even see the pandas module. Yet, I get an error No module panads found. Any pointers?


Hello, I have installed pandas successfully in C:\\Users\\<>\\Documents\\FME\\Plugins\\Python\\python37 successfully. My Python interpreter in FME is pointing to Python 3.7+

I can even see the pandas module. Yet, I get an error No module panads found. Any pointers?

Hi @sraapril

I highly recommend creating another Q&A post with your question for greater visibility.

Please provide information such as the FME version you are using as the process for installing external Python modules has changed recently.


Hi @sraapril

I highly recommend creating another Q&A post with your question for greater visibility.

Please provide information such as the FME version you are using as the process for installing external Python modules has changed recently.

Thank you very much for the response!

 

I solved it in a rather inelegant fashion. I copied the Pandas library that was installed in the location of C:\\Users\\Username\\Documents\\FME\\Plugins\\Python\\python37 into this location C:\\Program Files\\FME\\fmepython37 and it worked.

 

I use FME 2019.1

I have a conda version 4.7.12 and it has installed python 3.7.3

 

Do you still recommend I post it as a new thread?


Reply