<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=utf-8">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hello,<br>
    <br>
    I am a bit confused, because packages that I include in tox.ini as
    deps appear to be included in my test runs, but I get test errors
    that I do not get if I install them properly with sudo pip install
    [package]. Does anybody know why? I would ideally like to make the
    tox.ini self contained, so that anybody can download the project on
    a vanilla system and all the tests pass.<br>
    <br>
    For those who want more information, the project is duplicity.
    Downloading the source and running the tests gave a bunch of pylint
    errors about not being able to import packages, e.g.:<br>
    FAIL: test_pylint (testing.test_code.CodeTest)<br>
    <p id="yui_3_10_3_1_1465646874411_279">
      Pylint test (requires pylint to be installed to pass)<br>
      -------<wbr>-------<wbr>-------<wbr>-------<wbr>-------<wbr>-------<wbr>-------<wbr>-------<wbr>-------<wbr>-------<br>
      Traceback (most recent call last):<br>
        File "/home/<wbr>aaron/Programmi<wbr>ng/duplicity/<wbr>dup_ro_<wbr>error/testing/<wbr>test_code.<wbr>py",
      line 86, in test_pylint<br>
          [0, 32])<br>
        File "/home/<wbr>aaron/Programmi<wbr>ng/duplicity/<wbr>dup_ro_<wbr>error/testing/<wbr>test_code.<wbr>py",
      line 40, in run_checker<br>
          self.<wbr>assertTrue(<wbr>process.<wbr>returncode in
      returncodes, output)<br>
      AssertionError: ************* Module duplicity.<wbr>backends.<wbr>_boto_single<br>
      /home/aaron/<wbr>Programming/<wbr>duplicity/<wbr>dup_ro_<wbr>error/duplicity<wbr>/backends/<wbr>_boto_single.<wbr>py:131:
      [E0401(<wbr>import-<wbr>error), BotoBackend.<wbr>__init_<wbr>_]
      Unable to import 'boto.s3.<wbr>connection'<br>
      ************* Module duplicity.<wbr>backends.<wbr>_cf_cloudfiles<br>
      /home/aaron/<wbr>Programming/<wbr>duplicity/<wbr>dup_ro_<wbr>error/duplicity<wbr>/backends/<wbr>_cf_cloudfiles.<wbr>py:71:
      [E0401(<wbr>import-<wbr>error), CloudFilesBacke<wbr>nd._error_<wbr>code]
      Unable to import 'cloudfiles.errors'<br>
    </p>
    <p>Adding boto and python-cloudfiles meant that they were listed in
      the "py27 installed" list:<br>
      py27 installed:
PyDrive==1.0.1,PyYAML==3.11,argparse==1.2.1,boto==2.40.0,duplicity==0.0dev,funcsigs==1.0.2,google-api-python-client==1.5.1,httplib2==0.9.2,lockfile==0.12.2,mock==2.0.0,oauth2client==2.2.0,pbr==1.10.0,pexpect==4.1.0,ptyprocess==0.5.1,pyasn1==0.1.9,pyasn1-modules==0.0.8,python-cloudfiles==1.7.11,rsa==3.4.2,simplejson==3.8.2,six==1.10.0,uritemplate==0.6,wsgiref==0.1.2<br>
    </p>
    but the error persisted. Installing those same two packages with
    sudo pip install boto and sudo pip install python-cloudfiles fixed
    the error.<br>
    <br>
    Any thoughts would be appreciated. Apologies if I'm misunderstanding
    something about deps in tox.<br>
    <br>
    Kind regards,<br>
    <br>
    Aaron<br>
  </body>
</html>