Ticket #18530 (closed defect: duplicate)
py25-pylons 0.9.6.2 requires py25-decorator
| Reported by: | venom087@… | Owned by: | stechert@… |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | 1.7.0 |
| Keywords: | Cc: | akitada@… | |
| Port: | py25-pylons |
Description
After doing a port install of py25-pylons and trying to import pylons, I get the following traceback:
>>> import pylons
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/opt/local/lib/python2.5/site-packages/pylons/__init__.py", line 4, in <module>
from pylons.config import config
File "/opt/local/lib/python2.5/site-packages/pylons/config.py", line 2, in <module>
from pylons.configuration import *
File "/opt/local/lib/python2.5/site-packages/pylons/configuration.py", line 16, in <module>
import pylons.legacy
File "/opt/local/lib/python2.5/site-packages/pylons/legacy.py", line 10, in <module>
import pylons.decorators
File "/opt/local/lib/python2.5/site-packages/pylons/decorators/__init__.py", line 9, in <module>
from decorator import decorator
ImportError: No module named decorator
Doing a port install of py25-decorator fixes this.
Attachments
Change History
comment:1 Changed 4 years ago by macsforever2000@…
- Cc akitada@… added; stechert, akitada removed
- Owner changed from macports-tickets@… to stechert@…
Changed 4 years ago by mdippery@…
- Attachment Portfile.diff added
Patch to add py25-decorator as a dependency
Note: See
TracTickets for help on using
tickets.

