File "/home/cms/convirt/tg2env/lib/python2.6/site-packages/PasteDeploy-1.3.3-py2.6.egg/paste/deploy/loadwsgi.py", line 587, in find_egg_entry_point
possible.append((entry.load(), protocol, entry.name))
File "/usr/lib/python2.6/dist-packages/pkg_resources.py", line 1948, in load
entry = __import__(self.module_name, globals(),globals(), ['__name__'])
File "/home/cms/convirt/tg2env/lib/python2.6/site-packages/Paste-1.7.2-py2.6.egg/paste/httpserver.py", line 28, in <module>
from BaseHTTPServer import BaseHTTPRequestHandler, HTTPServer
File "/usr/lib/python2.6/BaseHTTPServer.py", line 81, in <module>
import mimetools
File "/usr/lib/python2.6/mimetools.py", line 6, in <module>
import tempfile
File "/usr/lib/python2.6/tempfile.py", line 34, in <module>
from random import Random as _Random
File "/usr/lib/python2.6/random.py", line 47, in <module>
from os import urandom as _urandom
ImportError: cannot import name urandom
Removing PID file /home/cms/convirt/paster.pid
转载于:https://blog.51cto.com/jxwpx/1123351