haseeb-heaven / code-interpreter

An innovative open-source Code Interpreter with (GPT,Gemini,Claude,LLaMa) models.
https://pypi.org/project/open-code-interpreter/
MIT License
219 stars 40 forks source link

Package not available 'Readline' - Windows #2

Closed haseeb-heaven closed 8 months ago

haseeb-heaven commented 8 months ago

Kindly guide. (base) python -m 'code-llama' -md 'code' Traceback (most recent call last):

  File "C:\Users\test\open-code-interpreter\[http://interpreter.py](https://t.co/Ag94dpbB78)", line 14, in <module>
    from libs.utility_manager import UtilityManager
  File "C:\Users\test\open-code-interpreter\libs\utility_manager.py", line 3, in <module>
    import readline
ModuleNotFoundError: No module named 'readline'
haseeb-heaven commented 8 months ago

User reported this issue only for Windows. So you can you either use this pip install pyreadline

haseeb-heaven commented 8 months ago

Now made if optional to have command history