Closed tanhu1230 closed 7 years ago
@tanhu1230 Hmm, that is odd. In the Data
directory, can you see if there are any files that have names that end with .err
or .log
? If you do, post what they say in them.
They are typically named with the date and time, like 20170418.err
.
Thanks!
[2017-04-19 11:46:44] Cannot open file
[2017-04-19 11:46:44] /home/swan/anaconda2/lib/python2.7/site-packages/pynlpir/Data/KeyBlackList.pdat
@tanhu1230 It looks like it is a permission error. I'm not that familiar with anaconda, but you might try making sure that your user owns the anaconda2
folder:
$ sudo chown -R swan /home/swan/anaconda2
Or:
$ sudo chown -R swan /home/swan/anaconda2/lib/python2.7/site-packages/pynlpir/Data
OK,it is working now,thank you very much!
No problem! Good luck with your coding :)
I got the pynlpir through pip and it works well yesterday,but today it seem to get some problems when I try to initial it.The runtime error showing below:
I hava downloaded the latest NLPIR.user file from https://github.com/NLPIR-team/NLPIR/tree/master/License and replace it in Data document,but still have this problem.