I tried to run an old script which contains the following line:
from icalendar import UTC
This gave me the following error:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: cannot import name UTC
So I checked out the change log of icalendar
which states the following:
Renamed the
UTC
class toUtc
, so it would not clash with theUTC
object, since that rendered theUTC
object unpicklable.
I changed UTC
into Utc
and still get the same error.
How can I get rid of this error?