This is how i setup my popos linux laptop for development...
reference: https://ohmyz.sh/#install
Pop os version 22 uses python 3.10 as the default. If you try and remove it, you will have to rebuild the box :-(.
So the default 3.10 (at present) has some issues. Pyenv can/does use shims to ensure the python path(s) goes to something within the users control. highly recommended to
- install by visiting here https://github.com/pyenv/pyenv#basic-github-checkout=
- https://github.com/pyenv/pyenv/wiki#suggested-build-environment
- https://github.com/pyenv/pyenv/wiki/Common-build-problems
- Install poetry by visiting https://python-poetry.org/docs/
- cd into the folder where pyproject.toml is
- Run
poetry env list
(this will show you the venv for that project) - Then run
poetry env remove whatever-WhATeVs-py3.9
to delete it - Running
poetry shell
after will create a new venv, after which running poetry install will install all the deps listed in pyproject.toml.
- Install the cli tool: https://docs.aws.amazon.com/cli/latest/userguide/getting-started-install.html
- Configure Named Profiles: https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-profiles.html
reference: https://linuxhint.com/install-docker-on-pop_os/ run as non root: https://docs.docker.com/engine/install/linux-postinstall/
reference: https://docs.docker.com/desktop/install/ubuntu/
reference: https://aws.amazon.com/blogs/devops/using-git-with-aws-codecommit-across-multiple-aws-accounts/
I use my pop os linux laptop work work. Windows 11 is necessary for me. Here is the insturctions for setting up windows 11 in virtualbox: https://lazyadmin.nl/win-11/install-windows-11-in-virtualbox/
Reference: https://support.system76.com/articles/battery/ How to add a shell script as an application: https://askubuntu.com/questions/141229/how-to-add-a-shell-script-to-launcher-as-shortcut
sudo apt install pip
pip --version
pip install pipenv
NOTE: add pipenv install dir to $PATH in .bashrc, something like: export PATH="/path/to/dir:$PATH"
mkdir ~/code/test/test-pipenv-proj
cd ~/code/test/test-pipenv-proj
SETUPTOOLS_USE_DISTUTILS=stdlib pipenv install
reference: microsoft/WSL#8327