Recently, I have had to reinstall the operating system on my machine. In the process I upgraded Dragon NaturallySpeaking (DNS) from v13 to v15 and in reconfiguring my voice recognition environment (DNS + Natlink + Dragonfly) the following Natlink message now appears on DNS start:
Failed to find Natlink key in Windows registry.  Failed to extract value from Natlink key.  An exception occurred loading 'natlinkmain' module  Error message:  No module named 'natlinkmain'    --
My DNS version: 15.61.200.010
My OS specifications:
- Edition: Windows 10 Pro
 - Version: 20H2
 - Installed on: 3/12/2021
 - OS build: 19042.867
 - Experience Windows Feature Experience Pack: 120.2212.551.0
 
--
To troubleshoot I have:
- Reinstalled Python and Natlink several times to ensure that I'm installing correctly (per the NatLink installation instructions):
 
Python 3.8.8 (32-bit), all users, at C:\Python38-32
I also cleared my system of all Python and Natlink remnants and restarted the operating system with each reinstall.
Everything I have attempted has been with OS administrative privileges.
- Added additional system path variables in the following order:
 
    C:\Python38-32\Lib\site-packages\natlinkcore\      C:\Python38-32\Lib\site-packages\      C:\Python38-32\Scripts\      C:\Python38-32\    - Added the following registry entry:
 
This last effort advanced initialization past the first message above to this new DNS startup Natlink message:
An exception occurred loading 'natlinkmain' module  Error message:  no module named 'natlinkmain'    - Attempted to import natlinkmain:
 
The referenced line...
--
Additional information...
I did notice that using C:\Python38-32\Scripts\start_natlinkconfig.exe to configure Natlink produces the following error message only on the first initialization attempt:
The executable would also produce two GUI configuration windows, but run successfully despite the error message and the two windows.
The corresponding message in .natlink\configurenatlink_error.txt:
Traceback (most recent call last):    File "c:\python38-32\lib\site-packages\natlinkcore\ConfigureNatlink\configurenatlink.pyw", line 1355, in <module>      app = MyApp(True)    File "C:\python38-32\lib\site-packages\wx\core.py", line 2137, in __init__      self._BootstrapApp()  SystemExit: OnInit returned false, exiting...    The settings in .natlink\natlinkstatus.ini:
[usersettings]    NatlinkPydOrigin = C:\Python38-32\Lib\site-packages\natlinkcore\PYD\natlink_3.8_Ver15.pyd    --
At this point I am out of ideas and am wondering if anyone has come across this error message before and resolved, or have any ideas on how I might resolve it? I need Natlink to successfully launch in order to run Dragonfly word macros.
In troubleshooting I have referenced the following issue:
https://github.com/dictation-toolbox/natlink/issues/20
https://stackoverflow.com/questions/66876756/registry-and-module-error-installing-natlink-python-38-on-windows-10 March 31, 2021 at 02:46AM



没有评论:
发表评论