You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
#21
Open
Haaarrrssshhh opened this issue
Dec 9, 2020
· 1 comment
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
File "C:\Users\Harsh Zota\AppData\Roaming\Python\Python37\site-packages\click\core.py", line 829, in call
return self.main(*args, **kwargs)
File "C:\Users\Harsh Zota\AppData\Roaming\Python\Python37\site-packages\click\core.py", line 782, in main
rv = self.invoke(ctx)
File "C:\Users\Harsh Zota\AppData\Roaming\Python\Python37\site-packages\click\core.py", line 1066, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "C:\Users\Harsh Zota\AppData\Roaming\Python\Python37\site-packages\click\core.py", line 610, in invoke
return callback(*args, **kwargs)
File "c:\users\harsh zota\anaconda3\envs\fsdl-text-recognizer\lib\site-packages\piptools\scripts\sync.py", line 153, in cli
ask=ask,
File "c:\users\harsh zota\anaconda3\envs\fsdl-text-recognizer\lib\site-packages\piptools\sync.py", line 197, in sync
+ sorted(to_uninstall)
File "c:\users\harsh zota\anaconda3\envs\fsdl-text-recognizer\lib\subprocess.py", line 363, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['c:\users\harsh zota\anaconda3\envs\fsdl-text-recognizer\python.exe', '-m', 'pip', 'uninstall', '-y', 'wincertstore']' returned non-zero exit status 1.
The text was updated successfully, but these errors were encountered:
Haaarrrssshhh
changed the title
When I run pip-sync requirements.txt requirements-dev.txt , I am getting the following error. And instead of installing packages it uninstalls package.
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.
Dec 9, 2020
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.
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
File "C:\Users\Harsh Zota\AppData\Roaming\Python\Python37\site-packages\click\core.py", line 829, in call
return self.main(*args, **kwargs)
File "C:\Users\Harsh Zota\AppData\Roaming\Python\Python37\site-packages\click\core.py", line 782, in main
rv = self.invoke(ctx)
File "C:\Users\Harsh Zota\AppData\Roaming\Python\Python37\site-packages\click\core.py", line 1066, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "C:\Users\Harsh Zota\AppData\Roaming\Python\Python37\site-packages\click\core.py", line 610, in invoke
return callback(*args, **kwargs)
File "c:\users\harsh zota\anaconda3\envs\fsdl-text-recognizer\lib\site-packages\piptools\scripts\sync.py", line 153, in cli
ask=ask,
File "c:\users\harsh zota\anaconda3\envs\fsdl-text-recognizer\lib\site-packages\piptools\sync.py", line 197, in sync
+ sorted(to_uninstall)
File "c:\users\harsh zota\anaconda3\envs\fsdl-text-recognizer\lib\subprocess.py", line 363, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['c:\users\harsh zota\anaconda3\envs\fsdl-text-recognizer\python.exe', '-m', 'pip', 'uninstall', '-y', 'wincertstore']' returned non-zero exit status 1.
The text was updated successfully, but these errors were encountered: