Pip-sync Error: When I run pip-sync requirements.txt requirements-dev.txt , I am getting the following error. And instead of installing packages it uninstalls package.
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 "c:\users\harsh zota\anaconda3\envs\fsdl-text-recognizer\lib\runpy.py", line 193, in _run_module_as_main
"main", mod_spec)
File "c:\users\harsh zota\anaconda3\envs\fsdl-text-recognizer\lib\runpy.py", line 85, in run_code
exec(code, run_globals)
File "C:\Users\Harsh Zota\anaconda3\envs\fsdl-text-recognizer\Scripts\pip-sync.exe_main.py", line 7, in
I tried pip-sync --user requirements.txt requirements-dev.txt and it worked. This command will install in the home directory instead of the system directory.
Edit: please don't do this inside a virtual environment.