|
You are here |
www.buildahomelab.com | ||
| | | | |
www.henryleach.com
|
|
| | | | | I'm leaving a note here as I've had this problem occur a couple of times, and each time it confuses me. When I try and launch a Vagrant box with an Ansible provisioning step, or otherwise try to run an Ansible playbook I get the error: ImportError: cannot import name 'initialize_locale'. Even a simple ansible --version will trigger this error. | |
| | | | |
www.djpeacher.com
|
|
| | | | | If you are trying to use "System Python" or manually install other versions, you could be saving yourself a lot of grief by using a version manager instead. | |
| | | | |
blog.nuculabs.de
|
|
| | | | | Hello, In this article I will introduce you to pyenv, a tool for managing python environments. Installing pyenv is pretty straight forward, you'll need to clone the repo and add the binaries to the path. For a typical Debian based distro using the Zsh shell the instructions would be: 1 2 3 4 git clone https://github.com/pyenv/pyenv.git ~/.pyenv echo 'export PYENV_ROOT="$HOME/.pyenv"' >> ~/.zshrc echo 'export PATH="$PYENV_ROOT/bin:$PATH"' >> ~/.zshrc Then, in order for this to take effect, you need to reload the shell with: source ~/.zshrc, or just restart your terminal. ?? | |
| | | | |
johnfraney.ca
|
|
| | | Poetry, a next-generation Python packaging tool, makes it easy to create and publish a Python package. | ||