Python error on plugin load: Add Skeleton (Simple)


#1

I’m getting the following error immediately after loading the Add Skeleton (Simple) plugin.

Could not find platform independent libraries
Could not find platform dependent libraries <exec_prefix>
Consider setting $PYTHONHOME to [:<exec_prefix>]
Fatal Python error: Py_Initialize: unable to load the file system codec
ImportError: No module named ‘encodings’

Synfig Studio 1.2.1 (stable, not optimized)
Mac OS 10.10.5, MacBook Pro 7.1, 2.4GHz Intel Core 2 Duo

I have zero experience with Python, so I don’t understand the suggestion in the error.


#2

Hi,

Synfig doesn’t find Python on you Mac OS.
It requires you to indicate its location in $PYTHONHOME environment variable (should be something like /usr/bin).
Maybe it is not even installed on your machine?

You could check at Python’s Docs :wink:
docs.python.org/3.3/using/mac.html
rachelkrantz.com/blog/2016/09/05 … lt-Python/


#3

I can’t offer any advice on python on mac os, but as far as i know “add skeleton” plugin doesn’t do anything useful. Skeleton can be added by adding skeleton layer (layer->new layer->other->skeleton).


#4

That works great, so I’ll proceed in that manner. Thanks for the advice!