Skip to content

OpenInterpreter is installed, but plugin can't find it. #7

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
DA-990 opened this issue Nov 13, 2024 · 8 comments
Open

OpenInterpreter is installed, but plugin can't find it. #7

DA-990 opened this issue Nov 13, 2024 · 8 comments

Comments

@DA-990
Copy link

DA-990 commented Nov 13, 2024

Hey there, tried to use the plugin, but it claims it can't find it.

plugin:open-interpreter:327 Executing command: $SHELL -i -c "which interpreter"
plugin:open-interpreter:330 Error finding interpreter: Error: Command failed: $SHELL -i -c "which interpreter"
'$SHELL' is not recognized as an internal or external command,
operable program or batch file.

at genericNodeError (node:internal/errors:984:15)
at wrappedFn (node:internal/errors:538:14)
at ChildProcess.exithandler (node:child_process:422:12)
at ChildProcess.emit (node:events:519:28)
at maybeClose (node:internal/child_process:1105:16)
at ChildProcess._handle.onexit (node:internal/child_process:305:5)

eval @ plugin:open-interpreter:330
plugin:open-interpreter:331 Stderr: '$SHELL' is not recognized as an internal or external command,
operable program or batch file.

plugin:open-interpreter:338 Interpreter installed: false
plugin:open-interpreter:368 Interpreter not installed, showing modal

@MikeBirdTech
Copy link
Owner

Sorry to hear that you're having trouble @DA-990

Could you please open your terminal and run which interpreter and let me know the output?

Also,
What os are you using?
What version of Open Interpreter and Obsidian?

@DA-990
Copy link
Author

DA-990 commented Nov 13, 2024

thank you for quickly replying; the 'which' command threw an error as my terminal didn't understand it. 'Get-Command' however, did, and returned 0.0.0.0 as the version number, oddly. My method of installation was to use the PIP command, so am unsure what version it pulled.

I am using Windows 11 and Obsidian 1.7.6. My apologies if I've made a a blunder somewhere, I am quite unfamiliar with this software.

@MikeBirdTech
Copy link
Owner

@DA-990 I use a mac so I don't know how much else I will be but I'll try!

can you please run interpreter --version?

I might need to get some help from Windows users to update the plugin so it can check if it's installed on both systems.

@DA-990
Copy link
Author

DA-990 commented Nov 13, 2024

Ok, that command returned:
Open Interpreter 0.4.3 Developer Preview
I'll give you whatever help I can; thank you for looking into this.

@MikeBirdTech
Copy link
Owner

Just a quick update @DA-990

Open Interpreter is going through a re-write, so I'm holding off updates until that happens. This bug is caused by a unix command that isn't compatible with Windows and can be fixed by adding OS checks

@liquescentremedies
Copy link

I'm on Linux and it's not recognised

@ferasselrayes
Copy link

My open-interpreter is installed within a conda environment. Are there plans to support this case? Perhaps specify the name of the environment as an option?

@n12k0
Copy link

n12k0 commented Mar 2, 2025

Problem is still not solved. I have exactly the same error on Win11. Open Interpreter is on PATH, but obsidian Plugin cannot find it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants