On a fresh debian bookworm installation - (from the official python:3.12-slim docker image) and solr-indexer installed via pip
RUN git clone https://github.com/metno/solr-indexer && \
cd solr-indexer && \
pip install -r requirements-thumb.txt && \
pip install .
when attempting to run indexdata --help I get:
Traceback (most recent call last):
File "/usr/local/bin/indexdata", line 5, in <module>
from solrindexer.script.indexdata import _main
File "/usr/local/lib/python3.12/site-packages/solrindexer/script/indexdata.py", line 29, in <module>
from dotenv import load_dotenv
ModuleNotFoundError: No module named 'dotenv'
- installing
dotenv via pip fixes the issue
On a fresh
debian bookworminstallation - (from the officialpython:3.12-slimdocker image) andsolr-indexerinstalled via pipwhen attempting to run
indexdata --helpI get:dotenvviapipfixes the issue