mapado / pynlg

``pynlg`` is a pure python re-implementation of [SimpleNLG-EnFr](https://github.com/rali-udem/SimpleNLG-EnFr), a java library enabling bilingual [text surface realisation](https://en.wikipedia.org/wiki/Realization_%28linguistics%29), based on [SimpleNLG](https://github.com/simplenlg/simplenlg).
MIT License
29 stars 10 forks source link

Import error while running on Python 3.5 and Windows 10 #5

Closed danielvasic closed 6 years ago

danielvasic commented 6 years ago

When I install pynlg on Windows running Python 3.6 it outputs this error: "ImportError: No module named 'lib\site-packages\pynlg-0'". Any suggestions?

AlJohri commented 6 years ago

can you show the full traceback? how are you installing and running pynlg? seems to work for me on macOS:

screen shot 2017-10-07 at 2 44 09 pm

danielvasic commented 6 years ago

Hello @AlJohri Thanks for the response, it seems to be an issue with importlib?

pynlg issue

AlJohri commented 6 years ago

what command did you run to install pynlg?

danielvasic commented 6 years ago

I installed pynlg using pip - python -m pip install pynlg

danielvasic commented 6 years ago

I have installed it manually now by running setup.py, but now I get the same error but with different path.

ss05

tokiop commented 6 years ago

Hello ! Does this change works for you ?