Last active
June 8, 2024 16:21
-
-
Save ftnext/21e78aec985060a4c485a5bc6c553258 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
% mkdir -p practice/bin | |
% ln -s $HOME/.pyenv/versions/3.11.8/bin/python practice/bin/python | |
% mkdir -p practice/lib/python3.11/site-packages | |
% echo "home = $HOME/.pyenv/versions/3.11.8/bin" > practice/pyvenv.cfg | |
% echo 'include-system-site-packages = false' >> practice/pyvenv.cfg | |
% echo 'version = 3.11.8' >> practice/pyvenv.cfg | |
% echo "executable = $HOME/.pyenv/versions/3.11.8/bin/python3.11" >> practice/pyvenv.cfg | |
% echo "command = $HOME/.pyenv/versions/3.11.8/bin/python -m venv $PWD/practice" >> practice/pyvenv.cfg | |
% practice/bin/python -m ensurepip --upgrade | |
% practice/bin/python -m pip list | |
Package Version | |
---------- ------- | |
pip 24.0 | |
setuptools 65.5.0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment