Closed tdene closed 10 months ago
If install_dir_path is provided via environment variable, it remains a string: https://github.com/philipperemy/stanford-openie-python/blob/master/openie/openie.py#L23
If install_dir_path is provided via argument, it becomes a Path: https://github.com/philipperemy/stanford-openie-python/blob/master/openie/openie.py#L25
This leads to an error on the next line if install_dir_path is provided via environment variable: https://github.com/philipperemy/stanford-openie-python/blob/master/openie/openie.py#L26
Good catch will release a quick fix.
https://github.com/philipperemy/stanford-openie-python/pull/63
Done, you can upgrade the lib. I released 1.3.2.
pip install stanford_openie --upgrade
If install_dir_path is provided via environment variable, it remains a string: https://github.com/philipperemy/stanford-openie-python/blob/master/openie/openie.py#L23
If install_dir_path is provided via argument, it becomes a Path: https://github.com/philipperemy/stanford-openie-python/blob/master/openie/openie.py#L25
This leads to an error on the next line if install_dir_path is provided via environment variable: https://github.com/philipperemy/stanford-openie-python/blob/master/openie/openie.py#L26