To begin, yes there are other similarly titled questions, no this is not a duplicate.
I'm having a very odd problem when I'm using python and CGI on my webserver.
The following gives the indicated error
#! /python34/python
import cgi, Cookie, os
print("Content-Type: text/html\n")
print("Output")
However, if I don't import Cookie, it works
#! /python34/python
import cgi, os
print("Content-Type: text/html\n")
print("Output")
Any ideas on this?