← Back to team overview

duplicity-team team mailing list archive

Import of past failing under tox

 

Hi,

I need some help here.  The module 'past' comes from the 'future' module.
Future and past are both installed in the tox site-packages yet it cannot
find the past module.

...command: "duplicity" "full" "testfiles/various_file_types"
"file://testfiles/output" "--volsize" "1" "-v0" "--no-print-statistics"
"--allow-source-mismatch" "--archive-dir=testfiles/cache" < /dev/null
...cwd: /Users/ken/workspace/duplicity-src8/testing
...output:
Traceback (most recent call last):
  File "/Users/ken/workspace/duplicity-src8/.tox/py27/bin/duplicity", line
35, in <module>
    import duplicity.errors
  File "/Users/ken/workspace/duplicity-src8/duplicity/errors.py", line 26,
in <module>
    from duplicity import log
  File "/Users/ken/workspace/duplicity-src8/duplicity/log.py", line 29, in
<module>
    from past.utils import old_div
ModuleNotFoundError: No module named 'past'
...return_val: 1

Any thoughts?  I have searched Google and there's no answer there.

...Ken