[Buildbot-devel] installing buildbot failed using no-root accout

Guo Hongruan camelguo at gmail.com
Mon Jan 4 04:08:05 UTC 2010


Still failed, but with different information

camelguo at guohr-laptop-ubuntu:~/tmp/buildbot-0.7.11p3$ mkdir -p  
~/lib/python/
camelguo at guohr-laptop-ubuntu:~/tmp/buildbot-0.7.11p3$ python setup.py  
install  --home=~
running install
Checking .pth file support in /home/camelguo/lib/python/
/usr/bin/python -E -c pass
TEST FAILED: /home/camelguo/lib/python/ does NOT support .pth files
error: bad install directory or PYTHONPATH

You are attempting to install a package to a directory that is not
on PYTHONPATH and which Python does not read ".pth" files from.  The
installation directory you specified (via --install-dir, --prefix, or
the distutils default setting) was:

     /home/camelguo/lib/python/

and your PYTHONPATH environment variable currently contains:

     ''

Here are some of your options for correcting the problem:

* You can choose a different installation directory, i.e., one that is
   on PYTHONPATH or supports .pth files

* You can add the installation directory to the PYTHONPATH environment
   variable.  (It must then also be on PYTHONPATH whenever you run
   Python and want to use the package(s) you are installing.)

* You can set up the installation directory to support ".pth" files by
   using one of the approaches described here:

   http://peak.telecommunity.com/EasyInstall.html#custom-installation-locations

Please make the appropriate changes for your system and try again.


在 Mon, 04 Jan 2010 12:03:13 +0800,Nicolas Alvarez  
<nicolas.alvarez at gmail.com> 写道:

> Guo Hongruan wrote:
>> The installation directory you specified (via --install-dir, --prefix,  
>> or
>> the distutils default setting) was:
>>
>>      /home/camelguo/lib/python/
>>
>> This directory does not currently exist.  Please create it and try  
>> again,
>> or
>> choose a different installation directory (using the -d or --install-dir
>> option).
>
> Run:
> mkdir -p /home/camelguo/lib/python/
>
> and try again.
>


-- 
Guo Hongruan, Embedded Linux Consultant
Skype: camelguo
Twitter: camelguo
http://www.gulessoft.com




More information about the devel mailing list