views:

46

answers:

0

When I try to import pylons in the virtual python environment I get the error

C:\env\Scripts>python
Python 2.7 (r27:82525, Jul  4 2010, 07:43:08) [MSC v.1500 64 bit (A
MD64)] on win32
Type "help", "copyright", "credits" or "license" for more informati
on.
>>> import pylons
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "C:\env\lib\site-packages\pylons-1.0-py2.7.egg\pylons\__init
__.py", line 6, in <module>
    from paste.registry import StackedObjectProxy
ImportError: No module named registry

As I understand this error, Python is telling me that it can not find the module named registry. Perhaps this is a result of the error I got while installing Pylons which is explained over here http://stackoverflow.com/questions/3827170/why-do-i-get-an-error-on-the-last-line-of-installing-pylons-1-0-with-easy-install

It seems that many of the Pylon components were installed but I guess registry was not or maybe Pylons just can not see it.

Any ideas on how to solve this?