Skip to content

Instantly share code, notes, and snippets.

@monchier
Last active December 18, 2019 15:28
Show Gist options
  • Save monchier/0eaa243d667a4578cc4d3c5f7c0daf8a to your computer and use it in GitHub Desktop.
Save monchier/0eaa243d667a4578cc4d3c5f7c0daf8a to your computer and use it in GitHub Desktop.
Notes on a Streamlit dev env on Ubuntu 16.04
# Install python3
# https://docs.python-guide.org/starting/install3/linux/
sudo apt-get install software-properties-common
sudo add-apt-repository ppa:deadsnakes/ppa
sudo apt-get update
sudo apt-get install python3.6
# Refer to this: https://github.com/streamlit/streamlit/issues/665
# change python3-distutils to libpython3.7-stdlib
# Fix locale
RuntimeError: Click will abort further execution because Python 3 was configured to use ASCII as encoding for the environment. Consult https://click.palletsprojects.com/en/7.x/python3/ for mitigation steps.
This system supports the C.UTF-8 locale which is recommended.
You might be able to resolve your issue by exporting the
following environment variables:
export LC_ALL=C.UTF-8
export LANG=C.UTF-8
Makefile:38: recipe for target 'pipenv-install' failed
make: *** [pipenv-install] Error 1
(lib) root@e98bb2ff316b:/streamlit# export LANG=C.UTF-8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment