You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In order for dragonfly to import natlink when running the Run_Caster_DNS.bat script it needs to be directly accessible. I think this can be done by putting it on the python path using a module.pth file in the natlink python module.
Without the module on the path it fails with this:
C:\voice\caster>Run_Caster_DNS.bat
Running DNS/DPI from Dragonfly CLI with Natlink.
WARNING:engine.natlink:Requested engine 'natlink' is not available: Natlink is not installed: No module named 'natlink' ERROR:command:Requested engine 'natlink' not available.
Press any key to continue . . .
The path can also manually be modified by setting the PYTHONPATH variable:
set PYTHONPATH=C:\Python\Python38-32\Lib\site-packages\natlinkcore
The text was updated successfully, but these errors were encountered:
I think this is an undesirable solution - think of it as a workaround.
I suspect what is going on is the dependent packages have not been updated since natlink moved to qualified imports. I think the issue should be reported in caster or other dependent packages.
In order for dragonfly to import natlink when running the Run_Caster_DNS.bat script it needs to be directly accessible. I think this can be done by putting it on the python path using a module.pth file in the natlink python module.
https://docs.python.org/3/library/site.html
Without the module on the path it fails with this:
The path can also manually be modified by setting the PYTHONPATH variable:
The text was updated successfully, but these errors were encountered: