it works fine in the pygwy console (returns /opt/local/lib/gwyddion/modules)
I did export it. This is confirmed with os.environ['GWYDDION_LIBDIR'] in
python shell.
With this, gwy.gwy_find_self_dir('modules') still returns that previous path
On Thu, Jun 19, 2014 at 12:16 AM, David Nečas (Yeti) <[email protected]>
wrote:
> On Thu, Jun 19, 2014 at 12:04:37AM -0700, YTC wrote:
> > print gwy.gwy_find_self_dir('modules') returns
> >
> >
> /opt/local/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/Resources/modules
>
> This is a very very strange path. It would mean Gwyddion modules are
> installed to some Python module directory. What do you get when you try
> the same in pygwy console inside Gwyddion?
>
> > I found that link about GWYDDION_LIBDIR earlier too. But setting it to
> > /opt/local/lib doesn't work.
>
> Did you export it? I.e. does gwy.gwy_find_self_dir('modules') print an
> actual Gwyddion module directory after ‘import gwy’, but still no
> modules are loaded?
>
> 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