-
Notifications
You must be signed in to change notification settings - Fork 90
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
Can't get past the alias/sourcing error. #238
Comments
Also encountering the issue |
alias awsume=". $(asdf which awsume)" |
I was also having this issue when I attempt to run ~ awsume-configure 1 ✘ 14:17:57
Traceback (most recent call last):
File "/opt/homebrew/bin/awsume-configure", line 5, in <module>
from awsume.configure.main import main
File "/opt/homebrew/Cellar/awsume/4.5.3_3/libexec/lib/python3.12/site-packages/awsume/configure/__init__.py", line 1, in <module>
from awsume.configure import alias
File "/opt/homebrew/Cellar/awsume/4.5.3_3/libexec/lib/python3.12/site-packages/awsume/configure/alias.py", line 2, in <module>
from distutils.spawn import find_executable
ModuleNotFoundError: No module named 'distutils' It seems like the issue could be its dependence on Python 3.12, which no longer includes I was able to get around this by dropping back to Python 3.11 as my default Python version, making sure the I was then able to run
|
this will/was resolved by #239 we need to release new version of awsume soon to address this |
Released |
Hey @matale - we have officially published 4.5.4 - can you confirm that this issue has been resolved? |
Reproducible in macOS Sonoma 14.4.1 for version 4.5.3:
In both cases I've installed |
Is a workaround (at least for me) |
I still see the
Is python broken and trying pull python 3.10 packages into 3.12? Python's package handling always feels like such a mess, I don't know if I'm supposed to be seeing 3.10 in those traceback paths or not. |
@cspotcode - digging back into this again. Looking into options to fix this in the distribution but for now separately injecting setuptools with pipx should shim until that fix can be implemented |
@lhendrick-t10 unfortunately I already did |
@cspotcode , it looks like python3.10's site-packages is ahead of your Based on this pipx docs page and testing on my machine, it seems like it's fine to upgrade pipx ( rm -rf ~/.local/pipx/shared/
|
Thanks for taking a look. I ended up building a static binary which I can copy to all my machines. So I won't have time to debug my python installation. Here's where I talked about the static binary, in case it's helpful to anyone else reading this in the future: #264 (comment) |
Have Python setup using asdf on an Intel Mac.
Did the awsume installation.
Running awsume command I get.
Running awsume-configure I get:
I have also tried manually adding
alias awsume=". awsume" to my .zshrc file still get the first error.
The text was updated successfully, but these errors were encountered: