Closed halegreen closed 6 years ago
Hi! Yes, NLPIR requires a license, so I wrote a command-line application to download and install the most recent license so that PyNLPIR is easier to use.
In your terminal simply run "pynlpir update" and it should fetch and install the license.
On Oct 27, 2017, at 23:08, Zoe Shaw notifications@github.com wrote:
Hi, I'm trying to use the python wrapper, but when running pynlpir.open(), the error raised:
pynlpir.LicenseError: Your license appears to have expired. Try running "pynlpir update". Actually I don't known where to run pynlpir update ? In the console ? terminal?
I'm using python2.7, on OSX. Thanks a lot!
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.
@tsroten Hi, I ran "pynlpir update" in the terminal and it told me "License updated", but when i turned to the code and run the code again, it raised the error: RuntimeError: NLPIR function 'NLPIR_Init' failed.
my OS : mac Sierra 10.12 python version: 2.7
@tsroten I think I found the problem, I checked the log file in the Data folder, it told me "Other thread is under initialization", so i closed all the ipython notebook and restarted the jupyter notebook, it worked!
Hi, I'm trying to use the python wrapper, but when running
pynlpir.open()
, the error raised:pynlpir.LicenseError: Your license appears to have expired. Try running "pynlpir update".
Actually I don't known where to runpynlpir update
? In the console ? terminal?I'm using python2.7, on OSX. Thanks a lot!