Open bapti opened 7 months ago
This is a weird one, because I can install just fine on one Mac (personal), while I'm seeing this result on another Mac (work, managed). Both Macs are the same spec (M1 Max), with everything else installing just fine up until this.
Just fixed mine. I did some digging, ended up finding some info about some very similar error output, and then I did the following:
brew reinstall certifi
brew reinstall certifi
did not work for me.
What's happening seems to be that the python3
used on lines 48 and 50 in ~/.asdf/plugins/poetry/bin/install
points to the macOS system install of python in /usr/bin/python3
(can be checked with which python
) which is Python v3.9.6 (can be checked with python3 --version
).
For me this was due to a very weird interaction between fish
and tmux
.
Quickfix was to just change line 48 and 50 from python3
to python
🤷♂️
I believe the issue is mostly unrelated to asdf-poetry
. If my setup had set the right $PATH
it wouldn't have happened.
@malthejorgensen, this exact issue is why I added the asdf direnv install
command a little while ago.
Granted, that only helps you if you're using asdf-direnv
. If you're not, there's some hope for this to get implemented in core asdf, see https://github.com/asdf-vm/asdf/pull/1723.
Provide environment information
asdf info
Python version
To Reproduce
Run
asdf install poetry 1.7.1
Describe the Bug
Asdf won't install and outputs error
Exception: This build of python cannot create venvs without using symlinks
I've tried a few different versions but none work.
Expected Behaviour
I'm able to install poetry