Skip to content

Issue running python script #312

@Jamanji2002

Description

@Jamanji2002

Hi, new user to both GitHub and Linux so forgive if this is a simple issue to solve. I'm doing a uni project trying to make a scara robot, i have a pokeys57cnc and am tying to run it using Linuxcnc but when i try running the the python script i get this,

~/LinuxCnC_PokeysLibComp$ python3 -m pokeys_py
Traceback (most recent call last):
File "", line 198, in _run_module_as_main
File "", line 88, in _run_code
File "/home/nick/LinuxCnC_PokeysLibComp/pokeys_py/main.py", line 13, in
main()
File "/home/nick/LinuxCnC_PokeysLibComp/pokeys_py/main.py", line 9, in main
run_ui_setup_tool()
File "/home/nick/LinuxCnC_PokeysLibComp/pokeys_py/init.py", line 339, in run_ui_setup_tool
lib = ctypes.CDLL("/usr/lib/linuxcnc/modules/PoKeysLib.so")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/ctypes/init.py", line 376, in init
self._handle = _dlopen(self._name, mode)
^^^^^^^^^^^^^^^^^^^^^^^^^
OSError: /usr/lib/linuxcnc/modules/PoKeysLib.so: cannot open shared object file: No such file or directory

I'm using a new installation of Linux downloaded straight from linuxcnc's website, followed the guide provided on this page but got held up with various issues most of which i solved, i got to this error and was unable to fix it. any help with this and steps beyond are much appreciated as I have no idea what I'm doing.

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingdocumentationImprovements or additions to documentation

Projects

Status

In Progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions