koursaros-ai / nboost

NBoost is a scalable, search-api-boosting platform for deploying transformer models to improve the relevance of search results on different platforms (i.e. Elasticsearch)
Apache License 2.0
674 stars 69 forks source link

ModuleNotFoundError: No module named 'jsonpath_ng.bin'; 'jsonpath_ng' is not a package #55

Closed cabhijith closed 4 years ago

cabhijith commented 4 years ago

Hi, I was getting the following error - ModuleNotFoundError: No module named 'jsonpath_ng.bin'; 'jsonpath_ng' is not a package

I installed nboost with pip install nboost[pt]

I found out the problem to be with jsonpath_ng. See the issue here.

I solved it by uninstalling jsonpath_ng. Do this:

pip uninstall jsonpath_ng

Reinstall older version

 pip install jsonpath-ng==1.4.3
pertschuk commented 4 years ago

@cabhijith per that issue it seems that jsonpath has been fixed in latest release. Will leave for now but consider locking in deps at specific version if stability continues to be a problem