OpenInterpreter / 01

The open-source language model computer
http://openinterpreter.com/01
GNU Affero General Public License v3.0
4.76k stars 470 forks source link

cant run client in windows 11 #222

Open kill136 opened 3 months ago

kill136 commented 3 months ago

Describe the bug when i run client in windows 11 ,using below commend: poetry run 01 --client --server-url=172.22.33.166:10001

i got some log message below: ########################## (.venv) d:\PycharmProjects\01\software>poetry run 01 --client --server-url=172.22.33.166:10001
Warning: Found deprecated priority 'default' for source 'tsinghua' in pyproject.toml. You can achieve the same effect by changing the priority to 'primary' and putting the source first. ○ Starting... Hold the spacebar to start recording. Press CTRL-C to exit [IPKernelApp] WARNING | Parent appears to have exited, shutting down.

######################

To Reproduce Steps to reproduce the behavior:

  1. i run :poetry run 01 --server cmd start server, it work well
  2. then i run :poetry run 01 --client --server-url=172.22.33.166:10001 ,it start run then stop

Expected behavior client can run ok

Screenshots image

Desktop (please complete the following information):

Additional context i make sure the server is running ok

rbrisita commented 3 months ago

I just installed the Windows version but there are bugs like recording and exiting out of the program.

I just ran:

poetry run 01

Have you tried that?

shebarz commented 2 months ago

Yes, I have the same issues on windows. Recording doesn't work and exciting doesn't work. Does anyone know how to fix this?

rowaidy commented 2 months ago

Yes, I have the same issues on windows. Recording doesn't work and exciting doesn't work. Does anyone know how to fix this?

Same here

rbrisita commented 2 months ago

There is a PR for exiting out, #231, and the owner has a Windows branch that I have yet to test. Another option would be to run Docker if you are familiar with it. Using the link provided could be a starting point to get the 01 to launch.

shebarz commented 2 months ago

There is a PR for exiting out, #231, and the owner has a Windows branch that I have yet to test. Another option would be to run Docker if you are familiar with it. Using the link provided could be a starting point to get the 01 to launch.

Thank you! I will try to figure out Docker :) I did not find the windows branch, but I'm also new to github, and that's probably on me

rbrisita commented 2 months ago

Welcome to GitHub! Glad to be of help. Here is the branch I was speaking of:

https://github.com/Abdullah-Gohar/01/tree/windows_11

rowaidy commented 2 months ago

Welcome to GitHub! Glad to be of help. Here is the branch I was speaking of:

https://github.com/Abdullah-Gohar/01/tree/windows_11

Iran it, and got stuck in a loop trying to create a script

rbrisita commented 2 months ago

That's called progress! Congrats! And welcome to the point where a lot of us who are not running 01OS under Mac OS X are at.

stvn037 commented 2 months ago

Any fixes for us windows 10 users? also getting the https://github.com/OpenInterpreter/01/issues/220 error probably when using server+client terminal. web socket never opens and audio does not upload. including with direct connect to openai.

shebarz commented 2 months ago

Welcome to GitHub! Glad to be of help. Here is the branch I was speaking of:

https://github.com/Abdullah-Gohar/01/tree/windows_11

Thank you so much! That worked for me :)

stvn037 commented 2 months ago

Welcome to GitHub! Glad to be of help. Here is the branch I was speaking of:

https://github.com/Abdullah-Gohar/01/tree/windows_11

Doesn't work for me on windows 10. After cloning I get "could not find pyproject.toml file". Any tips?

rowaidy commented 2 months ago

You need to go into the software directory and then run

stvn037 commented 2 months ago

I did, and it's not recognized even though it has the original crc and I got past that step in the main branch... curious

shebarz commented 2 months ago

Welcome to GitHub! Glad to be of help. Here is the branch I was speaking of: https://github.com/Abdullah-Gohar/01/tree/windows_11

Doesn't work for me on windows 10. After cloning I get "could not find pyproject.toml file". Any tips?

For Windows you have to go in this order and with these commands:

My guess is, you didn't install open interpreter first. If this doesn work, I think you might not have poetry installed on you machine

stvn037 commented 2 months ago

well, in the official branch open interpreter was included, so I did not expect to have to install it manually. hope this does the trick. there are several branches there, which one is best for windows 10?

Sherwan-Barzange commented 2 months ago

Yeah this is just what worked for me after that error. There is probably a cleaner way, if you're not a noob like me :)

stvn037 commented 2 months ago
webs-rec

Not sure what happened before, it doesn't need a sep. interpreter install though. Now that it's running that build, I still get the same issue anyhow--websocket never opens, recording never uploads.

Rob-Milliken commented 2 months ago

Hey, Steven, you are quite correct, open interpreter is installed automagically when running the poetry install. No worries about that. I've been trying to figure out the exact situation you have with specifically Windows 10. What worked for me, and I'd like feedback on if this works for you is to take the logic that detects the OS and force it into thinking you have Windows 11. If that works, the powers that be should take note maybe make the logics as such that anyone who has Windows should follow the Windows 11 logic. The file is under source\clients and the file you'll want to make changes is called base_device.py. Fair warning, once you get it working you'll run into odd code generation loops and only works on macOS modules - but that's another trouble ticket, hopefully you'll see progress and we can get more people with Windows 10 fixing things so it works on this Windows in general (I don't believe it completely does based on what I've seen so far, "out of the box").

image image

stvn037 commented 2 months ago
thisssss

Not only so, even Windows 12 gets the job done! Nah tho, it's not required to force 11, only return false win10--very curious