Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ERROR: Cannot uninstall 'wincertstore'. It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall. #24

Open
human-ai2025 opened this issue Apr 12, 2021 · 1 comment

Comments

@human-ai2025
Copy link

When I run make pip-tools, it seems that it doesn't work with pip sync giving an error like the below

pip-sync requirements/prod.txt requirements/dev.txt
Found existing installation: wincertstore 0.2
ERROR: Cannot uninstall 'wincertstore'. It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall.
Traceback (most recent call last):
File "d:\ml_dev\envs\fsdl-text-recognizer-2021\lib\runpy.py", line 193, in _run_module_as_main
"main", mod_spec)
File "d:\ml_dev\envs\fsdl-text-recognizer-2021\lib\runpy.py", line 85, in run_code
exec(code, run_globals)
File "D:\ML_dev\envs\fsdl-text-recognizer-2021\Scripts\pip-sync.exe_main
.py", line 7, in
File "d:\ml_dev\envs\fsdl-text-recognizer-2021\lib\site-packages\click\core.py", line 829, in call return self.main(*args, **kwargs)
File "d:\ml_dev\envs\fsdl-text-recognizer-2021\lib\site-packages\click\core.py", line 782, in main
rv = self.invoke(ctx)
File "d:\ml_dev\envs\fsdl-text-recognizer-2021\lib\site-packages\click\core.py", line 1066, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "d:\ml_dev\envs\fsdl-text-recognizer-2021\lib\site-packages\click\core.py", line 610, in invoke
return callback(*args, **kwargs)
File "d:\ml_dev\envs\fsdl-text-recognizer-2021\lib\site-packages\piptools\scripts\sync.py", line 151, in cli
ask=ask,
File "d:\ml_dev\envs\fsdl-text-recognizer-2021\lib\site-packages\piptools\sync.py", line 227, in sync
check=True,
File "d:\ml_dev\envs\fsdl-text-recognizer-2021\lib\subprocess.py", line 438, in run
output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['d:\ml_dev\envs\fsdl-text-recognizer-2021\python.exe', '-m', 'pip', 'uninstall', '-y', 'wincertstore']' returned non-zero exit status 1.
make: *** [Makefile:14: pip-tools] Error 1`

operating system :- Windows 10
Environment:- Anaconda
GPU:- GTX 1650

@SasankYadati
Copy link

Adding wincerstore to dev requirements solved this for me. I don't foresee any issues due to this addition.

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

No branches or pull requests

2 participants