scons reports "UserWarning: Unbuilt egg for setuptools..."
Bug #631365 reported by
Ingo Ruhnke
This bug report is a duplicate of:
Bug #576434: UserWarning: Unbuilt egg for setuptools [unknown version] (/usr/lib/python2.6/dist-packages).
Edit
Remove
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
scons (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: scons
Running a simple empty SConstruct file with scons leads to:
/usr/bin/scons:169: UserWarning: Unbuilt egg for setuptools [unknown version] (/usr/lib/
d = pkg_resources.
Which probably indicates a problem with the scons package.
Full way to reproduce the problem:
$ touch SConstruct
$ scons
/usr/bin/scons:169: UserWarning: Unbuilt egg for setuptools [unknown version] (/usr/lib/
d = pkg_resources.
scons: Reading SConscript files ...
scons: done reading SConscript files.
scons: Building targets ...
scons: `.' is up to date.
scons: done building targets.
$
To post a comment you must log in.
Not an scons issue it seems, the bug is already documented at:
https:/ /bugs.launchpad .net/ubuntu/ +source/ distribute/ +bug/576434
The workaround given there, namely:
sudo rmdir /usr/lib/ python2. 6/dist- packages/ setuptools. egg-info
sudo apt-get install --reinstall python-setuptools
Solved the issue for me.