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

Python shell #58

Open
Aaronphy opened this issue Mar 4, 2023 · 1 comment
Open

Python shell #58

Aaronphy opened this issue Mar 4, 2023 · 1 comment

Comments

@Aaronphy
Copy link
Owner

Aaronphy commented Mar 4, 2023

Remove python [version number] completely step by step

 ls /Library/Frameworks/Python.framework/Versions/
sudo rm -rf /Library/Frameworks/Python.framework/Versions/[version number]
sudo rm -rf "/Applications/Python [version number]"
ls -l /usr/local/bin | grep '../Library/Frameworks/Python.framework/Versions/[version number]' 
cd /usr/local/bin/
ls -l /usr/local/bin | grep '../Library/Frameworks/Python.framework/Versions/[version number]' | awk '{print $9}' | tr -d @ | sudo xargs rm
@Aaronphy Aaronphy changed the title Python* Completely removed Python shell Mar 4, 2023
@Aaronphy
Copy link
Owner Author

Aaronphy commented Mar 4, 2023

Solve the pyenv install speed

version="*.*.*"; echo $version; wget "https://mirrors.huaweicloud.com/python/$version/Python-$version.tar.xz" -P ~/.pyenv/cache/;pyenv install $version

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant