clemensherschel
unread,May 24, 2012, 4:12:59 PM5/24/12Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to pylons-...@googlegroups.com
I dont know what group can help me with this question in my pyramid
application.
I upgraded ubuntu os from 11. xx to 12.04. I thought my virtualenv would
be immune to any OS changes.
now when I run :
../bin/pserve development.ini
I get the following errors:
Traceback (most recent call last):
File "../bin/pserve", line 9, in <module>
load_entry_point('pyramid==1.3a4', 'console_scripts', 'pserve')()
File
"/home/cherschel/env_ch/local/lib/python2.7/site-packages/distribute-0.6.19-py2.7.egg/pkg_resources.py",
line 337, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File
"/home/cherschel/env_ch/local/lib/python2.7/site-packages/distribute-0.6.19-py2.7.egg/pkg_resources.py",
line 2281, in load_entry_point
return ep.load()
File
"/home/cherschel/env_ch/local/lib/python2.7/site-packages/distribute-0.6.19-py2.7.egg/pkg_resources.py",
line 1991, in load
entry = __import__(self.module_name, globals(),globals(), ['__name__'])
File
"/home/cherschel/env_ch/local/lib/python2.7/site-packages/pyramid-1.3a4-py2.7.egg/pyramid/__init__.py",
line 1, in <module>
from pyramid.request import Request
File
"/home/cherschel/env_ch/local/lib/python2.7/site-packages/pyramid-1.3a4-py2.7.egg/pyramid/request.py",
line 8, in <module>
from webob import BaseRequest
File
"/home/cherschel/env_ch/local/lib/python2.7/site-packages/WebOb-1.2b2-py2.7.egg/webob/__init__.py",
line 1, in <module>
from webob.datetime_utils import *
File
"/home/cherschel/env_ch/local/lib/python2.7/site-packages/WebOb-1.2b2-py2.7.egg/webob/datetime_utils.py",
line 10, in <module>
from email.utils import (
File "/usr/lib/python2.7/email/utils.py", line 27, in <module>
import random
File "/usr/lib/python2.7/random.py", line 47, in <module>
from os import urandom as _urandom
ImportError: cannot import name urandom
From ubuntu 12.04 python(2.7.3) , I can import urandom from os but not
from the virtualenv python(2.7.2+)
I dont want to mess around with the virtualenv python as that is the
point of virtualenv
thanks for any help,
Clemens Herschel