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

Windows 11 installation issue: Poetry could not find a pyproject.toml file in *path*\self-operating-computer or its parents #77

Closed
Jpups opened this issue Dec 4, 2023 · 8 comments
Labels
documentation Improvements or additions to documentation

Comments

@Jpups
Copy link

Jpups commented Dec 4, 2023

Trying to install SOC on Windows 11.

I get to the part where it says:

cat requirements.txt | xargs poetry add

This of course won't work on Windows so I used "@(cat requirements.txt) | %{&poetry add $_}" in Powershell, but I get the error mentioned in the title:

"Poetry could not find a pyproject.toml file in..."

Also tried: poetry add depency-name by copypasting the dependency name from requirements.txt but I get the same error.

Ideas anyone? Now that I'm thinking I might running too new a version of Poetry, but not sure

@michaelhhogue
Copy link
Collaborator

I believe @klxu03 added Poetry support. Can you look into this?

@michaelhhogue michaelhhogue added the bug Something isn't working label Dec 4, 2023
@Jpups
Copy link
Author

Jpups commented Dec 4, 2023

I simply skipped the Poetry step since I noticed there were two steps labelled "3." and managed to get the installation working, except now I probably have to pay some money since I get the following error message:

Error parsing JSON: Error code: 404 - {'error': {'message': 'The model gpt-4-vision-preview does not exist or you do not have access to it. Learn more: https://help.openai.com/en/articles/7102672-how-can-i-access-gpt-4.', 'type': 'invalid_request_error', 'param': None, 'code': 'model_not_found'}}

My key is correct since if I input the wrong key it complains about it explicitly.

EDIT: seems like gpt-4-1106-vision-preview is only available for companies, bummer. Well, one day I'll have a proper AI in my operating system!

@klxu03
Copy link
Contributor

klxu03 commented Dec 4, 2023

I believe @klxu03 added Poetry support. Can you look into this?

i ended up deleting poetry since it seemed to cause issues for non-poetry to some people. and my apologies, those instructions in the README were for if you wanted to manually add poetry support yourself. ill probably just delete those lines from the README rq

@michaelhhogue
Copy link
Collaborator

@klxu03 Okay. Yeah that should probably be removed as it could cause confusion for non-poetry users. I'll leave this issue opened until it's removed as a reminder.

@michaelhhogue michaelhhogue added documentation Improvements or additions to documentation and removed bug Something isn't working labels Dec 4, 2023
@klxu03
Copy link
Contributor

klxu03 commented Dec 4, 2023

@klxu03 Okay. Yeah that should probably be removed as it could cause confusion for non-poetry users. I'll leave this issue opened until it's removed as a reminder.

#70 okay yeah, deleted from README in my latest PR as well

@joshbickett
Copy link
Contributor

Wanted to confirm, a poetry PR would be great. Sorry getting caught a little behind on reviewing PRs. Hopefully I'm not holding anything up!

@michaelhhogue
Copy link
Collaborator

Closing as Poetry install instructions were removed.

@joshbickett
Copy link
Contributor

joshbickett commented Dec 7, 2023

Still interested in a poetry PR. I'd like the quick start to be super basic though. I think just having pip install in there may be helpful. When I was a beginner I remember running the statements in readme.md without knowing what they were. I'd imagine if I were I beginner I may run the poetry and venv statements and get confused. Maybe that's just me lol. Curious for other's thoughts. I may be wrong about this :)

Maybe we could have a separate poetry installation .md with something like "if you use poetry, click here for installation instructions"?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
4 participants