Modify

Opened 5 years ago

Last modified 4 years ago

#13375 new defect

package zope-interface lacks a __init__.py file

Reported by: idealities@… Owned by: developers
Priority: normal Milestone: Barrier Breaker 14.07
Component: packages Version: Attitude Adjustment 12.09 Beta
Keywords: zope-interface Cc:

Description

After install zope-interface, in python doing:

import zope.interface

Will give an error:

Traceback (most recent call last):

File "<stdin>", line 1, in <module>

ImportError: No module named zope.interface

That is because the package lacks a init.py in /usr/lib/python2.7/site-packages/zope/

$ opkg files zope-interface | grep init
/usr/lib/python2.7/site-packages/zope/interface/common/tests/init.py
/usr/lib/python2.7/site-packages/zope/interface/common/init.py
/usr/lib/python2.7/site-packages/zope/interface/init.py

How to fix it:

Add a null file init.py in /usr/lib/python2.7/site-packages/zope/

Attachments (0)

Change History (1)

comment:1 Changed 4 years ago by jow

  • Milestone changed from Attitude Adjustment 12.09 to Barrier Breaker 14.07

Milestone Attitude Adjustment 12.09 deleted

Add Comment

Modify Ticket

Action
as new .
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.