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

[MacOS] Need to reinstall poetry every time python updates #7535

Closed
4 tasks done
pkulev opened this issue Feb 20, 2023 · 2 comments
Closed
4 tasks done

[MacOS] Need to reinstall poetry every time python updates #7535

pkulev opened this issue Feb 20, 2023 · 2 comments
Labels
area/distribution Related to the distribution and installation of Poetry itself kind/bug Something isn't working as expected status/duplicate Duplicate issues

Comments

@pkulev
Copy link
Contributor

pkulev commented Feb 20, 2023

  • Poetry version: 1.3.2, installed with curl -sSL https://install.python-poetry.org | python3.10 -
  • Python version: 3.10.10, installed with brew ([email protected])
  • OS version and name: MacOS Ventura 13.2
  • pyproject.toml: any
  • I am on the latest stable Poetry version, installed using a recommended method.
  • I have searched the issues of this repo and believe that this is not a duplicate.
  • I have consulted the FAQ and blog for any relevant entries or release notes.
  • If an exception occurs when executing a command, I executed it again in debug mode (-vvv option) and have included the output below.

Issue

➜  ~ which poetry
/Users/most/Library/Python/3.10/bin/poetry
➜  ~ which python3.10
/opt/homebrew/bin/python3.10
➜  ~ ls -al `which python3.10`
lrwxr-xr-x  1 most  admin  46 Feb 20 12:15 /opt/homebrew/bin/python3.10 -> ../Cellar/[email protected]/3.10.10_1/bin/python3.10
➜  ~ head `which poetry`
#!/bin/sh
'''exec' "/Users/most/Library/Application Support/pypoetry/venv/bin/python" "$0" "$@"
' '''

After any [email protected] minor update I get the same issue:

➜  ~ poetry
dyld[64792]: Library not loaded: /opt/homebrew/Cellar/[email protected]/3.10.10/Frameworks/Python.framework/Versions/3.10/Python
  Referenced from: <15CD67DE-FC5D-3D45-8B25-D3AEAE046ED5> /Users/most/Library/Application Support/pypoetry/venv/bin/python
  Reason: tried: '/opt/homebrew/Cellar/[email protected]/3.10.10/Frameworks/Python.framework/Versions/3.10/Python' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/opt/homebrew/Cellar/[email protected]/3.10.10/Frameworks/Python.framework/Versions/3.10/Python' (no such file), '/opt/homebrew/Cellar/[email protected]/3.10.10/Frameworks/Python.framework/Versions/3.10/Python' (no such file), '/Library/Frameworks/Python.framework/Versions/3.10/Python' (no such file), '/System/Library/Frameworks/Python.framework/Versions/3.10/Python' (no such file, not in dyld cache)
[1]    64792 abort      poetry

And I need to reinstall it with:

➜  ~ curl -sSL https://install.python-poetry.org | python3.10 - --uninstall
Removing Poetry (1.3.2)
➜  ~ curl -sSL https://install.python-poetry.org | python3.10 -

Is there a way to avoid this? I'm wondering what I did wrong.

@pkulev pkulev added kind/bug Something isn't working as expected status/triage This issue needs to be triaged labels Feb 20, 2023
@dimbleby
Copy link
Contributor

@radoering radoering added status/duplicate Duplicate issues area/distribution Related to the distribution and installation of Poetry itself and removed status/triage This issue needs to be triaged labels Feb 20, 2023
@radoering radoering closed this as not planned Won't fix, can't repro, duplicate, stale Feb 20, 2023
Copy link

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 29, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area/distribution Related to the distribution and installation of Poetry itself kind/bug Something isn't working as expected status/duplicate Duplicate issues
Projects
None yet
Development

No branches or pull requests

3 participants