Do you know you can run APIC-EM learning lab 24x7 ?
Just go tohttps://learninglabs.cisco.com/lab/apic-em/step/1 follow the instruction.
When you are ready to run sample codes just change APIC-EM IP address in apicem_config.py to
"sandboxapic.cisco.com " (this is sanbox APIC-EM always on lab) then you are ready to go.
If you have difficulty, just post it on forum -- APIC EM