thomas-haslwanter / scikit-kinematics

Python functions for working with 3D kinematics.
Other
129 stars 45 forks source link

Tkinter is a dependency, but not listed anywhere #46

Open Steampunkery opened 2 years ago

Steampunkery commented 2 years ago

Upon trying to install and test skinematics, I was getting the following error:

>>> import skinematics as skin
Failed to import optional module imus. Install optional dependencies
Failed to import optional module misc. Install optional dependencies
>>>

I edited __init.py__ to print the full error and discovered that tkinter was not installed. This commonly occurs on linux distributions where the system version of python does not come with tkinter (which is usually istalled by default). The solution for this is sudo apt install python3-tk or the equivalent command for your linux distro.