Wednesday, October 29, 2025

installing python modules on Linux and Windows

For trying out LLM-generated python scripts for "warping", (still works in progress)

On Windows, various python modules can be installed with 
pip install modulename
where we sometimes have to do an internet search to find the exact modulename. 


pip install pillow

On my Linux Mint machine, where I've installed python using the default deb package with apt, 

ModuleNotFoundError: No module named 'imageio'
and when trying to install with pip,

× This environment is externally managed
╰─> To install Python packages system-wide, try apt install
    python3-xyz, where xyz is the package you are trying to
    install.

sudo apt install python3-imageio # this worked.

No comments:

Post a Comment