我正在尝试在 Anaconda 环境中运行 solr-to-es ( https://github.com/o19s/solr-to-es )。我运行 setup.py 没有错误,然后在尝试执行“solr-to-es -h”时,我得到“没有名为 'solrSource' 的模块”。在使用 Python 2.x 环境时,我没有收到此错误,但要求是 Python 3.x。
最佳答案
黑客:
cd solr_to_es
python \__main__.py localhost:8983/solr/select localhost:9200 es_index solr_docs
关于python - 在 Anaconda : ModuleNotFoundError: No module named 'solrSource' 中执行 solr-to-es 时出错,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/55577687/