I am attempting to install xlsxwriter module in my ArcPro 2.9.1. I receive an error that the directory is not recognized as an internal or external commmand.
pip install xlsxwriter
"'C:\Program' is not recognized as an internal or external command,
operable program or batch file."
This seems it is happening due to the space in 'Program files' but I am unsure of how to change the directory for pip install.
I would change the install directory to "C:\Program Files..." within quotes to prevent this error.
Please let me know how to go about changing the install directory.
If you feel like it's issue with windows path. If you want alternate solution until you fix path issue then you can install modules like this.Try this let me know if it works.
import os
os.system("pip install xlsxwriter")