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 install stuck on install package "attrs" #75

Open
MasterTeixi opened this issue Jun 12, 2024 · 2 comments
Open

Poetry install stuck on install package "attrs" #75

MasterTeixi opened this issue Jun 12, 2024 · 2 comments
Labels
question Further information is requested status: action required This issue requires additional information to be actionable

Comments

@MasterTeixi
Copy link

Steps to reproduce:
Starting from 0 on a Debian machine

apt install python3 (i alreayd had it but i tried it anyway)
apt install python3-pip (python that comes with debian doesn't have pip included)
apt install pipx
pipx ensurepath
sudo pipx ensurepath
(close ssh session, reopen it)
pipx install poetry
git clone https://github.com/nautobot/nautobot-docker-compose.git
cd nautobot-docker-compose
(copy environments/local.env and environments/creds.env to /environments and edit them)
chmod 0600 environments/local.env environments/creds.env
cp invoke.example.yml invoke.yml
poetry shell
poetry lock
poetry install

What it does:

It installs 2 packages and after that it gets stuck on installing "attrs 23.2.0"
Tried to install it separately but it keeps saying package doesn't exist
image

@jdrew82
Copy link
Contributor

jdrew82 commented Sep 10, 2024

@MasterTeixi can you clarify which version of Nautobot and python you're trying to use?

@jdrew82 jdrew82 added the question Further information is requested label Oct 3, 2024
@haganjoe
Copy link

I had the same issue happen on Ubuntu 24.04 - Python 3.12

1 or all of these 3 seemed to help. Was too lazy to test which one did the trick I am guessing this first one do to the output I was getting from poetry install -vvv

poetry config keyring.enabled false - - https://github.com/python-poetry/poetry/issues/8623
poetry config installer.max-workers 1 - - Sets CPU cores. Min 1 Max 4
poetry config installer.modern-installation false - - https://python-poetry.org/docs/configuration/#installermodern-installation

@jdrew82 jdrew82 added the status: action required This issue requires additional information to be actionable label Dec 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested status: action required This issue requires additional information to be actionable
Projects
None yet
Development

No branches or pull requests

3 participants