Suppose I have a python script that uses many uncommon modules. I want to deploy this script to sites which are unlikely to have these uncommon modules. What are some convenient way to install and deploy this python script without having to run "pip" at all the sites?
I am using python v3.x
You can create a python package with all the uncommon modules in your project and upload to a feed, could be public feed like www.pypi.org where all the pip installs are downloaded from or it could be your organizations azure devops artifacts.
After uploading your package, you only need to pip install  from the feed that you have chosen.
Deploying python script that uses uncommon modules