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

poetry start agent hangs - issue in ubuntu #6090

Closed
1 task done
shuther opened this issue Nov 2, 2023 · 2 comments
Closed
1 task done

poetry start agent hangs - issue in ubuntu #6090

shuther opened this issue Nov 2, 2023 · 2 comments
Labels

Comments

@shuther
Copy link

shuther commented Nov 2, 2023

⚠️ Search for existing issues first ⚠️

  • I have searched the existing issues, and there is no existing issue for my problem

Which Operating System are you using?

Linux

Which version of AutoGPT are you using?

Latest Release

Do you use OpenAI GPT-3 or GPT-4?

GPT-3.5

Which area covers your issue best?

Installation and setup

Describe your issue.

While starting the agent, poetry hanged while it installed the package - stuck in pending

./run agent start AgentName

• Installing attrs (23.1.0): Pending...
• Installing frozenlist (1.4.0): Pending...
• Installing idna (3.4): Pending...
• Installing multidict (6.0.4): Pending...
• Installing six (1.16.0): Pending...

I was able to trace the issue from Poetry github issue, it relates to keyring/ubuntu

Workaround:

execute first

export PYTHON_KEYRING_BACKEND=keyring.backends.null.Keyring

Upload Activity Log Content

No response

Upload Error Log Content

No response

@arturtoshev
Copy link

As I already replied in the issue you linked above, I ran into poetry install getting stuck halfway through. What I found to solve the problem for me was clearing the cache:

curl -sSL https://install.python-poetry.org | python3 - --uninstall  # uninstall poetry
rm -r $HOME/.cache/pypoetry  # clear cache
curl -sSL https://install.python-poetry.org | python3 -  # install latest release

@shuther shuther changed the title poetry start gent hangs - issue in ubuntu poetry start agent hangs - issue in ubuntu Nov 4, 2023
Copy link
Contributor

This issue has automatically been marked as stale because it has not had any activity in the last 50 days. You can unstale it by commenting or removing the label. Otherwise, this issue will be closed in 10 days.

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

No branches or pull requests

2 participants