I am using Windows version:
>>> cv2.__version__
'2.4.8'
and
>>> box = cv2.boxPoints(rect)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
AttributeError: 'module' object has no attribute 'boxPoints'