arrow-py / arrow

🏹 Better dates & times for Python
https://arrow.readthedocs.io
Apache License 2.0
8.63k stars 669 forks source link

'arrow' has no attribute 'utcnow' #1154

Closed eukiseioh closed 1 year ago

eukiseioh commented 1 year ago

i installed arrow module in deferents python versions and followed the examples from docs but always it is showing me the same error with the next code:

import arrow
utc = arrow.utcnow()
print(utc)

error: utc = arrow.utcnow() AttributeError: partially initialized module 'arrow' has no attribute 'utcnow' (most likely due to a circular import)

System Info

krisfremen commented 1 year ago

@eukiseioh Unfortunately, I can't reproduce the same behavior, and it would be almost impossible without having the same environment.

As such, this is not a bug with arrow itself.