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
UTCclass toUtc, so it would not clash with theUTCobject, since that rendered theUTCobject unpicklable.
I changed UTC into Utc and still get the same error.
How can I get rid of this error?