open-interpreter icon indicating copy to clipboard operation
open-interpreter copied to clipboard

Cannot run OpenInterpreter using the command line

Open vidalnuneza opened this issue 1 year ago • 2 comments

Describe the bug

I cannot run OpenInterpreter using the command line. When I try to run the command interpreter in PowerShell or CMD, I get an error that says:

interpreter : El término 'interpreter' no se reconoce como nombre de un cmdlet, función, archivo de script o programa
ejecutable. Compruebe si escribió correctamente el nombre o, si incluyó una ruta de acceso, compruebe que dicha ruta
es correcta e inténtelo de nuevo.
En línea: 1 Carácter: 1
+ interpreter
+ ~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (interpreter:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

Then I try to run it through python -m interpreter and still, I can't manage to run it now, it says that it cannot be executed: C:\Users\####\AppData\Local\Microsoft\WindowsApps\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\python.exe: No module named interpreter.__main__; 'interpreter' is a package and cannot be directly executed

But, it still runs when using python code.

Reproduce

1.Open CMD or PowerShell 2.Type interpreter or python -m interpreter 3.Get the error

Expected behavior

For what I understand by the documentation, it should run the open interpreter.

Screenshots

imatge imatge

Open Interpreter version

0.2.0

Python version

Python 3.11.7

Operating System name and version

Windows 11

Additional context

No response

vidalnuneza avatar Jan 25 '24 14:01 vidalnuneza

Make sure Python and python/Scripts is in PATH

Notnaton avatar Jan 25 '24 16:01 Notnaton

俺也一样。。

AFng avatar Jan 25 '24 17:01 AFng