System Requirements and Release Notes
P4 API for Python is supported on Windows, Linux, and macOS.
For system requirements, see the P4 API for Python Release notes.
When passing arguments, make sure to omit the space between the argument and its value, such as in the value pair -u and username in the following example:
change = p4.run_changes("-uusername", "-m1")[0]
If you include a space ("-u username"), the command fails.