'module' object has no attribute '__version__'

Bug #996380 reported by Spring Zhang
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
LAVA Utils Interface
Won't Fix
High
Unassigned

Bug Description

Use pip install and:

Downloading/unpacking lava-utils-interface>=1.0 (from lava-server->-r /tmp/tmp.h3pwJeZSFU (line 12))
  Downloading lava-utils-interface-1.0.tar.gz
  Storing download in cache at /srv/lava/.downloads/http%3A%2F%2Fpypi.python.org%2Fpackages%2Fsource%2Fl%2Flava-utils-interface%2Flava-utils-interface-1.0.tar.gz
  Running setup.py egg_info for package lava-utils-interface
    error in lava-utils-interface setup command: Unable to access '__version__' in 'lava.utils.interface': 'module' object has no attribute '__version__'
    Complete output from command python setup.py egg_info:
    error in lava-utils-interface setup command: Unable to access '__version__' in 'lava.utils.interface': 'module' object has no attribute '__version__'

Spring Zhang (qzhang)
Changed in lava-utils-interface:
importance: Undecided → High
Revision history for this message
Michael Hudson-Doyle (mwhudson) wrote :

IIRC, this is pip being super wonky. If you remove lava-server (pip uninstall lava-server) and start again, it should work.

Revision history for this message
Spring Zhang (qzhang) wrote :

Yes, the workaround works, how do you know it?

Revision history for this message
Spring Zhang (qzhang) wrote :

It breaks two points:
1. when l-d-t bundle
2. when l-d-t upgrade

Alan Bennett (akbennett)
Changed in lava-utils-interface:
status: New → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.