'Packaging a Python script and the modules it needs

I developed a Python script that uses some libs (Pandas, Numpy, bs4, etc.).

The problem is that the customer environment is shared, so I cannot install these libraries with 'pip'. He asked me to "put these libraries in the script"...

Is there any way to pack a python script with the related libraries? Can Software like PyInstaller be helpful?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source