Open akanimax opened 6 years ago
@akanimax were you able to start an app with quepy?? it keeps raising " File "/usr/local/bin/quepy", line 77 print "Error: folder '{}' already exists".format(folder)"
@mounaTay yes I am able to start the quepy app. Could you please send the complete stack trace of the error you obtained, we will be better able to debug the error. From what I perceive, Your error is perhaps related to the setting up of the parser, tagger and the default corpus of nltk. Please go through the installation instructions (link here -> http://quepy.readthedocs.io/en/latest/installation.html#set-up-the-pos-tagger and try again.
thanks, the installation was not done effectively, however now when i'm starting an app, i'm missing the parsing.py and settings.py files from the directory's tree
@mounaTay I think I had the same problem too (If I remember correctly, but it was quite similar to this). The way I solved it was by creating a virtualEnv local to my project and installed quepy on that virtualenv. Not sure why, but for some reason installing quepy in the global python env causes errors like these. Perhaps @rafacarrascosa would be better able to help here.
I've tried that but still not working for me
I had to copy an existing settings.py file to make it work
@mounaTay well, that's a bit odd. But, I am glad that solved your problem. cheers!
I had this problem too, I found that /usr/local/lib/python2.7/dist-packages/quepy-0.2-py2.7.egg/ was a zip archive not a directory. So I installed unzip (sudo apt install unzip) and then replaced the archive with its contents, if you see what I mean - then there was a directory /usr/local/lib/python2.7/dist-packages/quepy-0.2-py2.7.egg/ where the startapp expected to find the settings.py. Seemed to work but perhaps it would be safer to remove quepy entirely, install unzip and then reinstall quepy.
I am facing some issues in understanding the api usage since I couldn't find enough examples. Besides the existing examples are unfortunately not very clear. It would be a great help if successful users of this framework could provide links to their projects.