Skip to main content
Question

Issues Installing Python pandas module


fneal
Contributor
Forum|alt.badge.img+4
  • Contributor

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
warningno files found matching 'README.rst'
no previously-included directories found matching 'doc\build'
warningno previously-included files matching '*.so' found anywhere in distribu
tion
warningno previously-included files matching '*.pyd' found anywhere in distrib
ution
warningno previously-included files matching '*.pyc' found anywhere in distrib
ution
warningno previously-included files matching '*~' found anywhere in distributi
on
warningno previously-included files matching '#*' found anywhere in distributi
on
warningno previously-included files matching '.git*' found anywhere in distrib
ution
warningno previously-included files matching '.DS_Store' found anywhere in dis
tribution
warningno 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

5 replies

geosander
Forum|alt.badge.img+7
  • June 22, 2017

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.


fneal
Contributor
Forum|alt.badge.img+4
  • Author
  • Contributor
  • June 22, 2017

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.


Forum|alt.badge.img+1
  • October 22, 2019

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?


debbiatsafe
Safer
Forum|alt.badge.img+20
  • Safer
  • October 23, 2019
sraapril wrote:

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.


Forum|alt.badge.img+1
  • October 23, 2019
debbiatsafe wrote:

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?


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings