- TNG API python question
-
TNG API python question
I have a problem running tng.py file.
First of all I just started to learn programming and python in particular so may be a good chance I'm doing something stupid.
Path to PlanetCNCLib64.dll file is "C:/Program Files/PlanetCNC/"
The error I get is :
Traceback (most recent call last):
File "c:\Program Files\PlanetCNC\tng.py", line 20, in <module>
API = ctypes.CDLL(dll_name, mode=1)
File "C:\Users\Admin\AppData\Local\Programs\Python\Pyth on310\lib\ctypes\__init__.py", line 374, in __init__
self._handle = _dlopen(self._name, mode)
FileNotFoundError: Could not find module 'PlanetCNCLib64.dll' (or one of its dependencies). Try using the full path with constructor syntax.
Attempted to run tng.py within folder where .dll file seats. Also changed permissions on both lib and core files so they are allowed to be changed by user. Also added PlanetCNC folder to "path" environment variable.
Has anybody was able to run this file successfully?
Similar Threads:
Last edited by EvMaz; 10-01-2022 at 12:59 PM.
-
- TNG API python question
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules