"ModuleNotFoundError: No module named 'mentat.terminal'" when installing from github
jochenstu opened this issue · 2 comments
jochenstu commented
Running metat after python -m pip install git+https://github.com/AbanteAI/mentat.git
leads to
Traceback (most recent call last):
File "/opt/homebrew/bin/mentat", line 5, in <module>
from mentat.terminal.client import run_cli
ModuleNotFoundError: No module named 'mentat.terminal'
The pip package is working fine (but I can't make it work with the 128k context window, which, I suspect, is not in that version yet)
System Version: macOS 14.1 (23B74), Python 3.11.5
jakethekoenig commented
Thanks for reporting. I see the same issue. I'll look into it. In the mean time you can also install with:
Scratch that I'm seeing the same issue there.
Scratch it again. The following does work for me, I was just running the git installed mentat previously which I'm also seeing as not working:
git clone https://github.com/AbanteAI/mentat.git
cd mentat
# install with pip in editable mode:
pip install -e .
jochenstu commented
Cheers, that got me on the right way!