"python setup.py build" fails on Ubuntu Hardy Heron
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
| RescueTime Linux Uploader |
Undecided
|
Unassigned |
Bug Description
I managed to build and install the Firefox extension, but what I suppose is the main component, won't build.
As far as I can tell I followed the instructions exactly.
This is where it falls apart:
luke@luke-
Traceback (most recent call last):
File "setup.py", line 11, in <module>
version = Popen(["bzr", "revno"], stdout=
File "/usr/lib/
errread, errwrite)
File "/usr/lib/
raise child_exception
OSError: [Errno 2] No such file or directory
Before I reran it, it did this:
python setup.py build
-------
This script requires setuptools version 0.6c8 to run (even to display
help). I will attempt to download it for you (from
http://
you may need to enable firewall access for this script first.
I will start the download in 15 seconds.
(Note: if this machine does not have network access, please obtain the file
http://
and place it in this directory before rerunning this script.)
-------
Downloading http://
Traceback (most recent call last):
File "setup.py", line 11, in <module>
version = Popen(["bzr", "revno"], stdout=
File "/usr/lib/
errread, errwrite)
File "/usr/lib/
raise child_exception
OSError: [Errno 2] No such file or directory
Help please, I like my stats :]
Karolis (karolis) wrote : | #2 |
I can confirm having this problem too.
I did install setuptools via apt-get. I have also tried downloading the file.
Nothing helps, when I run python setup.py build, I get this:
Traceback (most recent call last):
File "setup.py", line 11, in <module>
version = Popen(["bzr", "revno"], stdout=
File "/usr/lib/
errread, errwrite)
File "/usr/lib/
raise child_exception
OSError: [Errno 2] No such file or directory
Karolis (karolis) wrote : | #3 |
sudo apt-get install bzr
Solves the problem...
Drake Anubis (drakeanubis) wrote : | #4 |
setuptools does not solve the problem, you must install bzr.
It would be nice if the script would check for that, and then prompt the user, or at the very least it could be quickly added to the documentation.
Mark (mark-johnson-smith) wrote : | #5 |
Looks like it could be a problem with ez_setup. This worked for me...
sudo python ez_setup.py
python setup.py build
sudo python setup.py install
Then there's an issue with paths. Things should be installed into /usr/bin instead of /usr/local/bin. This works...
sudo ln /usr/local/
This site helped: http://
I *HATE* signing up for things to post useful information so hopefully RescueTime is worth the effort!
Good luck.
You need to install setuptools: 'sudo apt-get install python-setuptools'. Then retry.