<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">On 2012-12-14 13:59, Oliver Tonnhofer
      wrote :<br>
    </div>
    <blockquote
      cite="mid:29AD893B-093A-489C-BBF8-D71D01DCE7B3@omniscale.de"
      type="cite">
      <pre wrap="">
On 13.12.2012, at 14:31, A.Pirard.Papou wrote:
</pre>
      <blockquote type="cite">
        <pre wrap="">The DEB has a requirement for python-yaml and mapproxy installed 3.09-2build1 on Ubuntu 10.04.
As I explained before, if I remove that requirement from the DEB (and uninstall yaml), mapproxy runs fine.
</pre>
      </blockquote>
      <pre wrap="">
MapProxy requires PyYAML and it won't be able to read any configuration without it. So did you install PyYAML manually with pip or easy_install then?</pre>
    </blockquote>
    That's exactly what I'm trying to find but...<br>
    <blockquote
      cite="mid:29AD893B-093A-489C-BBF8-D71D01DCE7B3@omniscale.de"
      type="cite">
      <blockquote type="cite">
        <pre wrap="">Would APT (DEB package manager) not be informed that another python-yaml is installed?
<b>What command would tell me that?</b></pre>
      </blockquote>
    </blockquote>
    I'm a python newbie.  How do I know if and which yaml is installed? 
    Browsed Google in vain.<br>
    As far as I remember, I only did  pip install/uninstall mapproxy
    once, the rest was done with apt.<br>
    Never piped anything else ;-)<br>
    <br>
    On the other hand, there is obviously a problem when I install yaml
    3.09 from Ubuntu distribution.<br>
    yaml 3.10-1 to -4 are available in the Ubuntu repository.<br>
    But they require python 2.7 (I run 2.6.5).<br>
    Is that true? (Ubuntu may overstate the requirements)<br>
    If not, I'll hack them to install them anyway.<br>
    <br>
    After diagnosing the presence of yaml.<br>
    <br>
    <blockquote
      cite="mid:29AD893B-093A-489C-BBF8-D71D01DCE7B3@omniscale.de"
      type="cite">
      <blockquote type="cite">
        <pre wrap="">
I guessed a little more and I found this:
$pycentral list | grep yaml  | less
/usr/lib/python2.6/dist-packages/reportlab/lib/yaml.pyc
/usr/lib/python2.6/dist-packages/reportlab/lib/yaml.pyo
/usr/lib/python2.6/dist-packages/reportlab/lib/yaml.py
/usr/lib/python3.1/dist-packages/reportlab/lib/yaml.pyc
/usr/lib/python3.1/dist-packages/reportlab/lib/yaml.pyo
/usr/lib/python3.1/dist-packages/reportlab/lib/yaml.py
/usr/lib/python2.5/site-packages/reportlab/lib/yaml.pyc
/usr/lib/python2.5/site-packages/reportlab/lib/yaml.pyo
/usr/lib/python2.5/site-packages/reportlab/lib/yaml.py

I hope this will explain something to you and help.
</pre>
      </blockquote>
      <pre wrap="">
This is not a yaml package, but reportlab.lib.yaml. MapProxy will never load one of these.


Regards,
Oliver
</pre>
    </blockquote>
    <br>
    Cheers, <br>
    <br>
    <table>
      <tbody>
        <tr>
          <td valign="top">André.</td>
        </tr>
      </tbody>
    </table>
    <br>
  </body>
</html>