print gwy.gwy_find_self_dir('modules') returns

/opt/local/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/Resources/modules

which is expected to be /opt/local/lib. I have no idea how that path comes
about.

I found that link about GWYDDION_LIBDIR earlier too. But setting it to
/opt/local/lib doesn't work.





On Wed, Jun 18, 2014 at 11:07 PM, David Nečas (Yeti) <[email protected]>
wrote:

> On Wed, Jun 18, 2014 at 12:10:26PM -0700, YTC wrote:
> > print gwy.gwy_module_get_filename('gwyfile') retuns none. Cross checked
> on
> > windows and it returns the correct path to gwyddion/lib/modules.
> >
> > I tried to add /opt/local/lib/gwyddion to LD_LIBRARY_PATH on OSX, which
> > didn't solve the problem. So probably not the correct path and/or
> variable
> > to set?
>
> The libraries are definitely found if you can do ‘import gwy’, only
> modules are the problem.  Try
>
>     print gwy.gwy_find_self_dir('modules')
>
> Is it what you expect?  If not, it may help setting GWYDDION_LIBDIR, see
>
>
> http://gwyddion.net/documentation/user-guide-en/gwyddion.html#gwyddion-environment
>
> IIRC OS X packages may need to fiddle with these too.
>
> Regards,
>
> Yeti
>
>
>
> ------------------------------------------------------------------------------
> HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
> Find What Matters Most in Your Big Data with HPCC Systems
> Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
> Leverages Graph Analysis for Fast Processing & Easy Data Exploration
> http://p.sf.net/sfu/hpccsystems
> _______________________________________________
> Gwyddion-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/gwyddion-users
>
------------------------------------------------------------------------------
HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
Find What Matters Most in Your Big Data with HPCC Systems
Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing & Easy Data Exploration
http://p.sf.net/sfu/hpccsystems
_______________________________________________
Gwyddion-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gwyddion-users

Reply via email to