Created
October 30, 2018 17:48
-
-
Save gaborbernat/1f3a24c1303e66e4a4f99aa52b041b04 to your computer and use it in GitHub Desktop.
pre-commit error
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
fix_lint installed: aspy.yaml==1.1.1,cached-property==1.5.1,cfgv==1.1.0,identify==1.1.7,importlib-metadata==0.6,nodeenv==1.3.2,pre-commit==1.12.0,PyYAML==3.13,six==1.11.0,toml==0.10.0,virtualenv==16.0.0 | |
fix_lint run-test-pre: PYTHONHASHSEED='643' | |
fix_lint runtests: commands[0] | pre-commit run --all-files --show-diff-on-failure | |
[INFO] Installing environment for https://github.com/ambv/black. | |
[INFO] Once installed this environment will be reused. | |
[INFO] This may take a few minutes... | |
An unexpected error has occurred: CalledProcessError: Command: ('C:\\Users\\berna\\.cache\\pre-commit\\repos2irookv\\py_env-python3.7\\Scripts\\pip.exe', 'install', '.') | |
Return code: 2 | |
Expected return code: 0 | |
Output: | |
Processing c:\users\berna\.cache\pre-commit\repos2irookv | |
Errors: | |
Exception: | |
Traceback (most recent call last): | |
File "c:\users\berna\.cache\pre-commit\repos2irookv\py_env-python3.7\lib\site-packages\pip\_internal\basecommand.py", line 228, in main | |
status = self.run(options, args) | |
File "c:\users\berna\.cache\pre-commit\repos2irookv\py_env-python3.7\lib\site-packages\pip\_internal\commands\install.py", line 291, in run | |
resolver.resolve(requirement_set) | |
File "c:\users\berna\.cache\pre-commit\repos2irookv\py_env-python3.7\lib\site-packages\pip\_internal\resolve.py", line 103, in resolve | |
self._resolve_one(requirement_set, req) | |
File "c:\users\berna\.cache\pre-commit\repos2irookv\py_env-python3.7\lib\site-packages\pip\_internal\resolve.py", line 257, in _resolve_one | |
abstract_dist = self._get_abstract_dist_for(req_to_install) | |
File "c:\users\berna\.cache\pre-commit\repos2irookv\py_env-python3.7\lib\site-packages\pip\_internal\resolve.py", line 210, in _get_abstract_dist_for | |
self.require_hashes | |
File "c:\users\berna\.cache\pre-commit\repos2irookv\py_env-python3.7\lib\site-packages\pip\_internal\operations\prepare.py", line 324, in prepare_linked_requirement | |
abstract_dist.prep_for_dist(finder, self.build_isolation) | |
File "c:\users\berna\.cache\pre-commit\repos2irookv\py_env-python3.7\lib\site-packages\pip\_internal\operations\prepare.py", line 126, in prep_for_dist | |
build_requirements, isolate = self.req.get_pep_518_info() | |
File "c:\users\berna\.cache\pre-commit\repos2irookv\py_env-python3.7\lib\site-packages\pip\_internal\req\req_install.py", line 448, in get_pep_518_info | |
pp_toml = pytoml.load(f) | |
File "c:\users\berna\.cache\pre-commit\repos2irookv\py_env-python3.7\lib\site-packages\pip\_vendor\pytoml\parser.py", line 10, in load | |
return loads(fin.read(), translate=translate, filename=getattr(fin, 'name', repr(fin))) | |
File "c:\users\berna\.cache\pre-commit\repos2irookv\py_env-python3.7\lib\encodings\cp1252.py", line 23, in decode | |
return codecs.charmap_decode(input,self.errors,decoding_table)[0] | |
UnicodeDecodeError: 'charmap' codec can't decode byte 0x81 in position 867: character maps to <undefined> | |
You are using pip version 10.0.1, however version 18.1 is available. | |
You should consider upgrading via the 'python -m pip install --upgrade pip' command. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment