[proFit-list] problem with Python

Chris Lee laserboy at fusemail.com
Tue Feb 11 09:48:05 CST 2014


It sounds (and you have probably checked this) like you are using the wrong version of python.

On 11 Feb 2014 (W: 7), at 16:46, Harbinson, Jeremy <Jeremy.Harbinson at wur.nl> wrote:

> 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
> _______________________________________________
> proFit-list mailing list
> proFit-list at quantum-soft.com
> http://quantum-soft.com/mailman/listinfo/profit-list_quantum-soft.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://quantum-soft.com/pipermail/profit-list_quantum-soft.com/attachments/20140211/5679ea1a/attachment.html>


More information about the proFit-list mailing list