Python error on plugin load: Add Skeleton (Simple)

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.

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/

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).

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

I have same problem in
Synfig Studio 1.3.10
Mac OS 10.13.6, iMac 21,5 3,06 GHz Intel Core i3
Python 3 32/64 installed
Unfortunately the solution from CARYOSCELUS doesn’t work.

Are there any fresh ideas?

Hi, the solution given by caryoscelus is to create your own skeleton layer (and after you need to add the bones).
Did you check your environment variables?
As a last possibility you could load directly the stickman.sif file from https://github.com/synfig/synfig/tree/master/synfig-studio/plugins/add-skeleton-simple