Skip to content
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

cant run client in windows 11 #222

Open
kill136 opened this issue Apr 3, 2024 · 19 comments
Open

cant run client in windows 11 #222

kill136 opened this issue Apr 3, 2024 · 19 comments

Comments

@kill136
Copy link

kill136 commented Apr 3, 2024

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):

  • OS: client : windows 11 ,develop tool vscode
  • Python Version 3.11

Additional context
i make sure the server is running ok

@rbrisita
Copy link
Contributor

rbrisita commented Apr 3, 2024

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
Copy link

shebarz commented Apr 19, 2024

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
Copy link

rowaidy commented Apr 19, 2024

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
Copy link
Contributor

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
Copy link

shebarz commented Apr 19, 2024

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
Copy link
Contributor

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
Copy link

rowaidy commented Apr 19, 2024

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
Copy link
Contributor

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
Copy link

stvn037 commented Apr 20, 2024

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
Copy link

shebarz commented Apr 20, 2024

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
Copy link

stvn037 commented Apr 23, 2024

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
Copy link

rowaidy commented Apr 23, 2024

You need to go into the software directory and then run

@stvn037
Copy link

stvn037 commented Apr 23, 2024

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
Copy link

shebarz commented Apr 23, 2024

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
Copy link

stvn037 commented Apr 23, 2024

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
Copy link

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
Copy link

stvn037 commented Apr 23, 2024

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
Copy link

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
Copy link

stvn037 commented Apr 25, 2024

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

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

7 participants