[proFit-list] problem with Python

Harbinson, Jeremy jeremy.harbinson at wur.nl
Tue Feb 11 09:46:08 CST 2014


Hi,
I am not able to import pandas into a Python function. I am using OSX 10.8.4, I have the Enthought Python Distribution installed (1.3.0.1715) and my ProFit is 6.2.11.
Pandas can be imported into Python running in a terminal and works there, so it seems to be functioning in a general sense (and it works in Enthought's own python gui). I needed to update a function that used PyDataFrame, which no longer works, and pandas seemed to be an easy alternative, but the line:

import pandas as pd

gets the response that there is 'no module called pandas' - even using sys.path.append to add the pandas path (or what I think is the path) did not work. Any suggestions? My guess is that this is a basic, silly mistake on my part, so don't spare me the obvious!
All the best,
Jeremy Harbinson
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://quantum-soft.com/pipermail/profit-list_quantum-soft.com/attachments/20140211/ffeee0b4/attachment.html>


More information about the proFit-list mailing list