-
Notifications
You must be signed in to change notification settings - Fork 11
Description
Hello, I am having installation issues on Windows, trying Python 3.11 and 3.12. I have tried changing python encoding as follows: $env:PYTHONIOENCODING = "utf-8"
pip install git+https://github.com/allenai/codenav
But no luck. This is the error:
pip install git+https://github.com/allenai/codenav
Collecting git+https://github.com/allenai/codenav
Cloning https://github.com/allenai/codenav to c:\users\d\appdata\local\temp\pip-req-build-dpa_i4p3
Running command git clone --filter=blob:none --quiet https://github.com/allenai/codenav 'C:\Users\d\AppData\Local\Temp\pip-req-build-dpa_i4p3'
Resolved https://github.com/allenai/codenav to commit 2f200d9
Installing build dependencies ... done
Getting requirements to build wheel ... error
error: subprocess-exited-with-error
× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> [25 lines of output]
C:\Users\d\AppData\Local\Temp\pip-req-build-dpa_i4p3.VERSION
Traceback (most recent call last):
File "C:\Users\d\AppData\Local\Programs\Python\Python311\Lib\site-packages\pip_vendor\pyproject_hooks_in_process_in_process.py", line 353, in
main()
File "C:\Users\d\AppData\Local\Programs\Python\Python311\Lib\site-packages\pip_vendor\pyproject_hooks_in_process_in_process.py", line 335, in main
json_out['return_val'] = hook(**hook_input['kwargs'])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\d\AppData\Local\Programs\Python\Python311\Lib\site-packages\pip_vendor\pyproject_hooks_in_process_in_process.py", line 118, in get_requires_for_build_wheel
return hook(config_settings)
^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\d\AppData\Local\Temp\pip-build-env-tf5ufs4b\overlay\Lib\site-packages\setuptools\build_meta.py", line 334, in get_requires_for_build_wheel
return self._get_build_requires(config_settings, requirements=[])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\d\AppData\Local\Temp\pip-build-env-tf5ufs4b\overlay\Lib\site-packages\setuptools\build_meta.py", line 304, in _get_build_requires
self.run_setup()
File "C:\Users\d\AppData\Local\Temp\pip-build-env-tf5ufs4b\overlay\Lib\site-packages\setuptools\build_meta.py", line 522, in run_setup
super().run_setup(setup_script=setup_script)
File "C:\Users\d\AppData\Local\Temp\pip-build-env-tf5ufs4b\overlay\Lib\site-packages\setuptools\build_meta.py", line 320, in run_setup
exec(code, locals())
File "", line 150, in
File "", line 118, in _do_setup
File "C:\Users\d\AppData\Local\Programs\Python\Python311\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 1536: character maps to
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error
× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.