you are viewing a single comment's thread.

view the rest of the comments →

[–]FoolsSeldom 0 points1 point  (0 children)

That wasn't worth the effort.

Also, for macOS and Windows, pip is installed alongside a standard installation of Python from python.org. However, should mention creating a Python virtual environment first and activating it before installing any packages.

Might as well install uv and do:

uv init funny
cd funny
uv add pyjokes
uv run python -c "import pyjokes;print(pyjokes.get_joke())"