/explore

Click through on any links that interest you or select the planets on the right to continue exploring the Outer Web.
You are here

blog.ian.stapletoncordas.co
| | nate.leaflet.pub

for uv-pilled python users
4.2 parsecs

Travel
| |
| | patrick.wtf

A couple of months ago, I merged a pull request to improve Strawberry's error messages and make them more user-friendly. In this article I'll show the steps I took to improve the user experience of the Strawberry error messages and, hopefully, inspire you to do the same on your projects!
21.6 parsecs

Travel
| |
| | blog.lanzani.nl

If you work with Python on macOS and are trying to let your kids play with things like turtle you will encounter errors such as >>> import turtle Traceback (most recent call last): File "", line 1, in File "~/.pyenv/versions/3.7.4/lib/python3.7/turtle.py", line 107, in import tkinter as TK File "~/.pyenv/versions/3.7.4/lib/python3.7/tkinter/__init__.py", line 36, in import _tkinter # If this fails your Python may not be configured for Tk ModuleNotFoundError: No module named '_tkinter' If you use pyenv and brew there's a simple way to fix it: brew install tcl-tk brew install pyenv # skip if you already have pyenv installed export PATH="/usr/local/opt/tcl-tk/bin:$PATH" export LDFLAGS="-L/usr/local/opt/tcl-tk/lib" export CPPFLAGS="-I/usr/local/opt/tcl-tk/includ...
2.5 parsecs

Travel
| |
| | nabeelvalley.co.za

How to work with modules and handle the 'ModuleNotFoundError: No module named ...' error
23.2 parsecs

Travel
|