the first edition of this book suggested using the sudo command if you encountered permission errors while running pipsudo pip install module this is bad practiceas it installs modules to the python installation used by your operating system your operating system may run python scripts to carry out system-related tasksand if you install modules to this python installation that conflict with its existing modulesyou could create hard-to-fix bugs never use sudo when installing python modules installing modules for the mu editor the mu editor has its own python environmentseparate from the one that typical python installations have to install modules so that you can use them in scripts launched by muyou must bring up the admin panel by clicking the gear icon in the lower-right corner of the mu editor in the window that appearsclick the third party packages tab and follow the instructions for installing modules on that tab the ability to install modules into mu is still an early feature under developmentso these instructions may change if you are unable to install modules using the admin panelyou can also open terminal window and run the pip tool specific to the mu editor you'll have to use pip' --target command line option to specify mu' module folder on windowsthis folder is :\users\appdata local\mu\pkgs on macosthis folder is /applications/mu-editor app/contents /resources/app_packages on linuxyou don' need to enter --target argumentjust run the pip command normally for exampleafter you download the requirements file for your operating system from on windowspip install - automate-win-requirements txt --target " :\users\usernameappdata\local\mu\pkgson macospip install - automate-mac-requirements txt --target /applicationsmu-editor app/contents/resources/app_packages on linuxpip install --user - automate-linux-requirements txt if you want to install only some of the modulesyou can run the regular pip (or pip command and add the --target argument appendix