Open rodrigogiraoserrao opened 3 years ago
The original code comments that using the auxiliary WinPort.dyalog
file ”is dumb, but works, but is still dumb”.
Either try to write the WinPort.dyalog
file in a location appropriate for temp files, or try to remove this “hack” altogether (no idea how!).
After using
setup.py
to installpynapl
, with administrator permissions, in a Windows 10 system,pynapl
is installed in the standard location for Python modules, in a “protected” folder.Hence, when a regular user tries to start
pynapl
, it fails, because Python will try to write theWinPort.dyalog
file in a protected location.Here's the traceback we get after a script tries to import
pynapl
and run theAPL
function inAPL.py
: