You can check if you have the xlsxwriter package installed by running the pip show xlsxwriter command. Copied! The pip show xlsxwriter command will either state that the package is not installed or show a bunch of information about the package, including the location where the package is installed.