Sitelet https://web.archive.org/web/20220521121850/https://github.com/abhinavsingh/proxy.py/issues/999
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

[Windows] pip install -e . fails #999

Open
sowmya-jaxl opened this issue Jan 17, 2022 · 0 comments
Open

[Windows] pip install -e . fails #999

sowmya-jaxl opened this issue Jan 17, 2022 · 0 comments
Labels
Bug Good First Issue

Comments

@sowmya-jaxl
Copy link
Contributor

@sowmya-jaxl sowmya-jaxl commented Jan 17, 2022

(.venv) PS D:\proxy.py> pip install -e .
Obtaining file:///D:/proxy.py
  Installing build dependencies ... done
  Getting requirements to build wheel ... error
  ERROR: Command errored out with exit status 1:
   command: 'D:\proxy.py\.venv\Scripts\python.exe' 'D:\proxy.py\.venv\lib\site-packages\pip\_vendor\pep517\in_process\_in_process.py' get_requires_for_build_wheel 'C:\Users\USER\AppData\Local\Temp\tmpjejh6tlp'
       cwd: D:\proxy.py
  Complete output (37 lines):
  Traceback (most recent call last):
    File "D:\proxy.py\.venv\lib\site-packages\pip\_vendor\pep517\in_process\_in_process.py", line 349, in <module>
      main()
    File "D:\proxy.py\.venv\lib\site-packages\pip\_vendor\pep517\in_process\_in_process.py", line 331, in main
      json_out['return_val'] = hook(**hook_input['kwargs'])
    File "D:\proxy.py\.venv\lib\site-packages\pip\_vendor\pep517\in_process\_in_process.py", line 117, in get_requires_for_build_wheel
      return hook(config_settings)
    File "C:\Users\USER\AppData\Local\Temp\pip-build-env-t3o_wpdk\overlay\Lib\site-packages\setuptools\build_meta.py", line 162, in get_requires_for_build_wheel
      return self._get_build_requires(
    File "C:\Users\USER\AppData\Local\Temp\pip-build-env-t3o_wpdk\overlay\Lib\site-packages\setuptools\build_meta.py", line 143, in _get_build_requires
      self.run_setup()
    File "C:\Users\USER\AppData\Local\Temp\pip-build-env-t3o_wpdk\overlay\Lib\site-packages\setuptools\build_meta.py", line 158, in run_setup
      exec(compile(code, __file__, 'exec'), locals())
    File "setup.py", line 1, in <module>
    File "C:\Users\USER\AppData\Local\Temp\pip-build-env-t3o_wpdk\overlay\Lib\site-packages\setuptools\__init__.py", line 155, in setup
      return distutils.core.setup(**attrs)
    File "C:\Users\USER\AppData\Local\Temp\pip-build-env-t3o_wpdk\overlay\Lib\site-packages\setuptools\_distutils\core.py", line 109, in setup
      _setup_distribution = dist = klass(attrs)
    File "C:\Users\USER\AppData\Local\Temp\pip-build-env-t3o_wpdk\overlay\Lib\site-packages\setuptools\dist.py", line 459, in __init__
      _Distribution.__init__(
    File "C:\Users\USER\AppData\Local\Temp\pip-build-env-t3o_wpdk\overlay\Lib\site-packages\setuptools\_distutils\dist.py", line 293, in __init__
      self.finalize_options()
    File "C:\Users\USER\AppData\Local\Temp\pip-build-env-t3o_wpdk\overlay\Lib\site-packages\setuptools\dist.py", line 837, in finalize_options
      ep(self)
    File "C:\Users\USER\AppData\Local\Temp\pip-build-env-t3o_wpdk\overlay\Lib\site-packages\setuptools_scm\integration.py", line 90, in infer_version
      config = Configuration.from_file(dist_name=dist_name)
    File "C:\Users\USER\AppData\Local\Temp\pip-build-env-t3o_wpdk\overlay\Lib\site-packages\setuptools_scm\config.py", line 199, in from_file
      dist_name = _read_dist_name_from_setup_cfg()
    File "C:\Users\USER\AppData\Local\Temp\pip-build-env-t3o_wpdk\overlay\Lib\site-packages\setuptools_scm\config.py", line 210, in _read_dist_name_from_setup_cfg
      parser.read(["setup.cfg"])
    File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.2544.0_x64__qbz5n2kfra8p0\lib\configparser.py", line 697, in read
      self._read(fp, filename)
    File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.2544.0_x64__qbz5n2kfra8p0\lib\configparser.py", line 1020, in _read
      for lineno, line in enumerate(fp, start=1):
    File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.2544.0_x64__qbz5n2kfra8p0\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 0x8f in position 951: character maps to <undefined>
  ----------------------------------------
WARNING: Discarding file:///D:/proxy.py. Command errored out with exit status 1: 'D:\proxy.py\.venv\Scripts\python.exe' 'D:\proxy.py\.venv\lib\site-packages\pip\_vendor\pep517\in_process\_in_process.py' get_requires_for_build_wheel 'C:\Users\USER\AppData\Local\Temp\tmpjejh6tlp' Check the logs for full command output.
ERROR: Command errored out with exit status 1: 'D:\proxy.py\.venv\Scripts\python.exe' 'D:\proxy.py\.venv\lib\site-packages\pip\_vendor\pep517\in_process\_in_process.py' get_requires_for_build_wheel 'C:\Users\USER\AppData\Local\Temp\tmpjejh6tlp' Check the logs for full command output.
WARNING: You are using pip version 21.2.4; however, version 21.3.1 is available.
You should consider upgrading via the 'D:\proxy.py\.venv\Scripts\python.exe -m pip install --upgrade pip' command.
@sowmya-jaxl sowmya-jaxl added the Bug label Jan 17, 2022
@sowmya-jaxl sowmya-jaxl changed the title pip install -e . fails on Windows [Windows] pip install -e . fails Jan 17, 2022
@abhinavsingh abhinavsingh removed their assignment Jan 20, 2022
@abhinavsingh abhinavsingh added the Good First Issue label Jan 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Good First Issue
Projects
None yet
Development

No branches or pull requests

2 participants