You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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. - Not applicable
Issue
I have Python 3.11.4 installed via Homebrew. This is available via python and python3 in my terminal. However, the poetry install is searching for /usr/local/lib/Python or /usr/lib/Python which is not where my Python version is stored.
Attached is the error and log from running the recommended installer
> curl -sSL https://install.python-poetry.org | python - -vvv
Retrieving Poetry metadata
# Welcome to Poetry!
This will download and install the latest version of Poetry,
a dependency and package manager for Python.
It will add the `poetry` command to Poetry's bin directory, located at:
/Users/dillonbarnes/.local/bin
You can uninstall at any time by executing this script with the --uninstall option,
and these changes will be reverted.
Installing Poetry (1.5.1): An error occurred. Removing partial environment.
Poetry installation failed.
See /Users/dillonbarnes/poetry-installer-error-misximsf.log for error logs.
dyld[5485]: Library not loaded: '@loader_path/../Python'
Referenced from: '/Users/dillonbarnes/Library/Application Support/pypoetry/venv/bin/python3.11'
Reason: tried: '/Users/dillonbarnes/Library/Application Support/pypoetry/venv/bin/../Python' (no such file), '/usr/local/lib/Python' (no such file), '/usr/lib/Python' (no such file)
Traceback:
File "<stdin>", line 923, in main
File "<stdin>", line 562, in run
My suggestion for this is to use the python binary used when running the installer if possible.
My Python installation is at /usr/local/bin/python3 and not /usr/local/lib/Python which seems to be hardcoded into the installer.
The text was updated successfully, but these errors were encountered:
-vvv
option) and have included the output below. - Not applicableIssue
I have Python 3.11.4 installed via Homebrew. This is available via
python
andpython3
in my terminal. However, the poetry install is searching for/usr/local/lib/Python
or/usr/lib/Python
which is not where my Python version is stored.Attached is the error and log from running the recommended installer
My suggestion for this is to use the python binary used when running the installer if possible.
My Python installation is at
/usr/local/bin/python3
and not/usr/local/lib/Python
which seems to be hardcoded into the installer.The text was updated successfully, but these errors were encountered: