[IIAB] [XSCE] Re: iiab on xo-4

Braddock Gaskill braddock at gmail.com
Sat Jul 26 14:00:08 PDT 2014


Hi Tim,
I think I've seen this setuptools issue before using pip --update on Ubuntu
- not Internet-in-a-box related, but some sort of nasty clash between pip
installed packages and the native packages when I was working on another
project.

As I recall, I found a Stack Overflow response involving downloading the
setuptools or disttools tar file and manually running it to fix it.  I
don't recall more specifics than that, but I remember it was not an elegant
or satisfying solution.

-braddock


On Sat, Jul 26, 2014 at 7:44 AM, Tim Moody <tim at timmoody.com> wrote:

>   Thanks.  This got me past the /tmp space problem, but now I have a new
> problem.
>
> If for some reason,  such as mirrors unavailable, /bin/pip install -U -b
> /piptmp --use-mirrors Internet-in-a-Box fails and I rerun I get
>
> Found existing installation: MarkupSafe 0.18
>   Uninstalling MarkupSafe:
>     Successfully uninstalled MarkupSafe
> Running setup.py install for markupsafe
>   Traceback (most recent call last):
>     File "<string>", line 1, in <module>
>   ImportError: No module named setuptools
>
> In /usr/lib/python2.7/site-packages/ I have
> -rw-r--r--  2 root root    144 Nov  2  2007
> setuptools-0.6c11-py2.7.egg-info
> -rw-r--r--  2 root root     34 Nov  2  2007 setuptools.pth
>
> I can also get a variant of the problem
>
> ImportError: No module named pkg_resources, which I believe is part of
> setuptools.
>
> I tried yum erase python-pip python-devel  gcc xz-devel
> mod_wsgimod_xsendfile and then reinstalled, assuming that setuptools must
> be part of one of these packages, but that did not solve the problem.
>
> I tried yum install python-setuptools, but that did not solve the problem
> either.
>
> Any help is welcome.
>
> Tim
>
>  *From:* Braddock Gaskill <braddock at braddock.com>
> *Sent:* Friday, July 25, 2014 5:25 PM
> *To:* Internet In a Box Working Group <iiab at sgvhak.org>
> *Cc:* XSCE/xsce <xsce at noreply.github.com> ; server-devel
> <server-devel at lists.laptop.org>
> *Subject:* Re: [IIAB] iiab on xo-4
>
>  Hi Tim,
> pip builds its packages in /tmp by default.  You can specify a different
> directory where you have enough disk space.
>
> See
> http://stackoverflow.com/questions/10617198/pip-creates-build-directories
>
> pip install -b customized_build_directory to specify another directory as
> build base directory, for example /tmp
>
>
>
>
> On Fri, Jul 25, 2014 at 2:20 PM, Tim Moody <tim at timmoody.com> wrote:
>
>>   We switched xsce to using pip instead of rpms to install iiab in order
>> to get the latest version.  However, during the install process on an xo-4
>> I get IOError: [Errno 28] No space left on device.  I notice that /tmp has
>> 0 bytes available.  It’s contents are
>>
>> drwxr-xr-x 17 root root 340 Jul 25 21:03 pip-build-root
>> drwx------  2 root root  60 Jul 25 21:02 pip-nd2tVc-unpack
>> drwx------  3 root root  60 Jul 25 20:56 systemd-private-Dn2ozM
>> drwx------  3 root root  60 Jul 25 20:56 systemd-private-m5Or2z
>>
>> Any suggestions?  We didn’t get this error when using rpms.  Is there an
>> easy way to build the rpms?
>>
>> I tried cloning https://github.com/braddockcg/internet-in-a-box.git
>>
>> and running internet-in-a-box/scripts/build_rpms.sh
>>
>> but I got
>>
>> iiab_id_rsa private key must be in current directory
>>
>> Tim
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://sgvhak.org/pipermail/iiab/attachments/20140726/9a868fbe/attachment.html>


More information about the IIAB mailing list