Skip to content
This repository has been archived by the owner on Jul 28, 2022. It is now read-only.

PIP package for version 1.2.3 missing utils folder #2

Open
devmonkey22 opened this issue Dec 7, 2018 · 4 comments
Open

PIP package for version 1.2.3 missing utils folder #2

devmonkey22 opened this issue Dec 7, 2018 · 4 comments

Comments

@devmonkey22
Copy link

Installed 1.2.3 on Windows 10 with python 3.6.5.

>>> import duplicate
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File ".virtualenvs\Duplicates-1Bkne2Yf\lib\site-packages\duplicate\__init__.py", line 13, in <module>
    from .core import CACHE
  File ".virtualenvs\Duplicates-1Bkne2Yf\lib\site-packages\duplicate\core.py", line 17, in <module>
    from .structs import Cache, DupInfo, FileInfo, FilterType, SkipException
  File ".virtualenvs\Duplicates-1Bkne2Yf\lib\site-packages\duplicate\structs.py", line 13, in <module>
    from .utils.fs import blkdevice, blksize
ModuleNotFoundError: No module named 'duplicate.utils'

I was able to download the source package and just copy into my virtualenv at least.

@ghost
Copy link

ghost commented Jun 28, 2019

I am also getting the same error. Please fix it ASAP

@CapitaineNemo
Copy link

I am also getting the same issue. Could you fix it?

@amadis
Copy link

amadis commented Jul 6, 2020

Same error,
windows 10
Python 3.8.1 (tags/v3.8.1:1b293b6, Dec 18 2019, 22:39:24) [MSC v.1916 32 bit (Intel)] on win32
deplicate in c:\program files (x86)\python38-32\lib\site-packages (1.2.3)

cyph3r42 added a commit to cyph3r42/deplicate that referenced this issue Jan 6, 2021
Incorporates fixes by @daviss92, @stephend017, and @thomas-hori

Fixes issues deplicate#2, deplicate#3, deplicate#5, & deplicate#6.

Also resolves issues with modification of dictionaries while looping.
@anovickis
Copy link

anovickis commented Apr 21, 2022

there is fix above but it's not in the pip'able version yet
so for now:

Go to wherever pip installed this package on your system
In my case this was
C:\Users\Alex P. Novickis.QCE3X\AppData\Roaming\Python\Python310\site-packages\duplicate

make a folder called utils
download this entire package from here as zip, and copy out the contents of the zip's utils folder to this new folder you made

import duplicate

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

4 participants