Mikejerere
New Contributor II

Use --py-files with Spark Submit: Zip the package and add it using --py-files when you run spark-submit. For example:

spark-submit --py-files path/to/your_package.zip your_script.py