Closed illwieckz closed 4 years ago
@illwieckz I think this is related to your other python3 port issue. Let me check some work around of this issue.
@illwieckz , Let me know your distro name and version. I'll check for workaround.
Ubuntu 20.04 LTS “Focal Fossa”
thanks. Can you edit your requirements.txt
and do pip install -r requirements.txt
like below and give it try again? please make sure to remove your previous python modules like enum34
or simple check this from an new py2.7 venv.
diff --git a/requirements.txt b/requirements.txt
index c6c2a52..2def892 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -1,2 +1,2 @@
numpy
-beautifultable
+beautifultable==0.8.0
Above changes worked on Ubuntu 20.04
(myenv) root@ubuntu-s-1vcpu-1gb-blr1-01:~/dduper# ./dduper --device /dev/sda --files /mnt/a1 /mnt/a2 --analyze
Perfect match : /mnt/a1 /mnt/a2
Perfect match : /mnt/a1 /mnt/a2
Perfect match : /mnt/a1 /mnt/a2
Perfect match : /mnt/a1 /mnt/a2
Perfect match : /mnt/a1 /mnt/a2
Perfect match : /mnt/a1 /mnt/a2
--------------------------------------------------
Chunk Size(KB) : Files : Duplicate(KB)
--------------------------------------------------
256 : /mnt/a1:/mnt/a2 : 51200
==================================================
dduper:51200KB of duplicate data found with chunk size:256KB
(myenv) root@ubuntu-s-1vcpu-1gb-blr1-01:~/dduper# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 20.04 LTS
Release: 20.04
Codename: focal
Ok, that works with a brand new virtualenv done this way:
virtualenv -p /usr/bin/python2.7 venv
I was not able to get my initial virtualenv working, but a new one works.
Thanks!
great thanks for the confirmation :+1: I'll go ahead and mark this as resolved, please feel free to report any other issues with dduper.
pip install enum34
fixed the issue on my end