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

Installation issue on Windows #121

Closed
martinRenou opened this issue Apr 20, 2021 · 0 comments · Fixed by #123
Closed

Installation issue on Windows #121

martinRenou opened this issue Apr 20, 2021 · 0 comments · Fixed by #123
Assignees
Labels
bug Something isn't working
Milestone

Comments

@martinRenou
Copy link
Collaborator

As demonstrated in this PR: #120 there is an installation issue on Windows:

  Traceback (most recent call last):
    File "c:\hostedtoolcache\windows\python\3.6.8\x64\lib\site-packages\pip\_vendor\pep517\_in_process.py", line 280, in <module>
      main()
    File "c:\hostedtoolcache\windows\python\3.6.8\x64\lib\site-packages\pip\_vendor\pep517\_in_process.py", line 263, in main
      json_out['return_val'] = hook(**hook_input['kwargs'])
    File "c:\hostedtoolcache\windows\python\3.6.8\x64\lib\site-packages\pip\_vendor\pep517\_in_process.py", line 114, in get_requires_for_build_wheel
      return hook(config_settings)
    File "C:\Users\RUNNER~1\AppData\Local\Temp\pip-build-env-dt8e78rv\overlay\Lib\site-packages\setuptools\build_meta.py", line 155, in get_requires_for_build_wheel
      config_settings, requirements=['wheel'])
    File "C:\Users\RUNNER~1\AppData\Local\Temp\pip-build-env-dt8e78rv\overlay\Lib\site-packages\setuptools\build_meta.py", line 135, in _get_build_requires
      self.run_setup()
    File "C:\Users\RUNNER~1\AppData\Local\Temp\pip-build-env-dt8e78rv\overlay\Lib\site-packages\setuptools\build_meta.py", line 259, in run_setup
      self).run_setup(setup_script=setup_script)
    File "C:\Users\RUNNER~1\AppData\Local\Temp\pip-build-env-dt8e78rv\overlay\Lib\site-packages\setuptools\build_meta.py", line 150, in run_setup
      exec(compile(code, __file__, 'exec'), locals())
    File "setup.py", line 35, in <module>
      setup(long_description=make_pypi_compliant_readme())
    File "setup.py", line 22, in make_pypi_compliant_readme
      original_readme = fp.read()
    File "c:\hostedtoolcache\windows\python\3.6.8\x64\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 0x90 in position 18459: character maps to <undefined>
akaihola added a commit that referenced this issue Apr 22, 2021
This should fix a failing `pip install` on Windows. Fixes #121.
martinRenou pushed a commit to martinRenou/darker that referenced this issue Apr 23, 2021
This should fix a failing `pip install` on Windows. Fixes akaihola#121.
@akaihola akaihola added this to the 1.2.3 milestone Apr 24, 2021
@akaihola akaihola added the bug Something isn't working label Apr 24, 2021
@akaihola akaihola self-assigned this Apr 24, 2021
This was referenced Apr 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
2 participants