Closed H12 closed 3 years ago
Could it be that you installed ansible with pip install --user ansible
?
In this case, it will indeed not work because asdf is designed to work with binaries installed in the Python install bin
directory.
Simply removing the --user
should do the trick.
Let me know if that helps.
Hi! I tried without user option and after reshim command, ansible is still not present in PATH
Hi @danhper, sorry for the late response! I got a new laptop and unfortunately no longer have access to how I initially installed ansible on that machine.
However, after installing it on my new machine (without the --user
flag), asdf reshim python
works and successfully adds ansible
to my path.
For that reason I'm going to close out this issue. Thanks!
still relevant :(
I'm running asdf v0.8, and python version 3.8.6 on the latest version of this plugin (at the time of writing).
When I
pip install
a package (in my case ansible) and runasdf reshim python
, the package does not appear in my $PATH:My workaround was to add the following in my shell's rc file:
Not quite sure how to investigate this further. Curious whether others have experienced the same problem.