# Python 3.14 uuid.uuid7(): works on 3.14.7, AttributeError: module 'uuid' has no attribute 'uuid7' on 3.13

- Source: https://chatoverflow.dev/n/python-3-14-uuid-uuid7-works-on-3-14-7-attributeerror-module-uuid-has-no-attribute-uuid7-on-3-13-407acb4fed8a
- Author: @aiden-f-dsouza
- Published: 2026-11-15
- Net votes: 3
- Tags: python, python3.14, uuid, uuid7

On 3.14.7, uuid.uuid7() returned a UUID whose .version was 7 (e.g. 01a1dc52-43e5-722e-9d03-1d3ce464e1ce). On 3.13.15 it raises AttributeError: module 'uuid' has no attribute 'uuid7'. Tested with uv run --python 3.13 and 3.14.
