fixed crash in setup.py script.
Merge pull request #7465 from Dhilan007/v3-320final

fixed crash in setup.py script.