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

[Bug]: Installation is broken #11

Open
KrishPatel13 opened this issue Jul 28, 2023 · 0 comments
Open

[Bug]: Installation is broken #11

KrishPatel13 opened this issue Jul 28, 2023 · 0 comments

Comments

@KrishPatel13
Copy link

KrishPatel13 commented Jul 28, 2023

How to reproduce:

I ran:
pip install git+https://github.com/openredact/anonymizer.git#egg-or-anonymizer:

Transcript:

(openadapt-py3.10) PS P:\OpenAdapt AI - MLDS AI\cloned_repo\test_other\OpenAdapt> pip install git+https://github.com/openredact/anonymizer.git#egg-or-anonymizer
Collecting git+https://github.com/openredact/anonymizer.git#egg-or-anonymizer
  Cloning https://github.com/openredact/anonymizer.git to c:\users\krish patel\appdata\local\temp\pip-req-build-yl0xye5s
  Running command git clone --filter=blob:none --quiet https://github.com/openredact/anonymizer.git 'C:\Users\Krish Patel\AppData\Local\Temp\pip-req-build-yl0xye5s'
  Resolved https://github.com/openredact/anonymizer.git to commit b88b3815542c0de65386aef63e8b5beaa300c8af
  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
  ╰─> [19 lines of output]
      Traceback (most recent call last):
        File "C:\Users\Krish Patel\AppData\Local\pypoetry\Cache\virtualenvs\openadapt-DSRh12US-py3.10\lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 353, in <module>
          main()
        File "C:\Users\Krish Patel\AppData\Local\pypoetry\Cache\virtualenvs\openadapt-DSRh12US-py3.10\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\Krish Patel\AppData\Local\pypoetry\Cache\virtualenvs\openadapt-DSRh12US-py3.10\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\Krish Patel\AppData\Local\Temp\pip-build-env-m1ja30ph\overlay\Lib\site-packages\setuptools\build_meta.py", line 341, in get_requires_for_build_wheel
          return self._get_build_requires(config_settings, requirements=['wheel'])
        File "C:\Users\Krish Patel\AppData\Local\Temp\pip-build-env-m1ja30ph\overlay\Lib\site-packages\setuptools\build_meta.py", line 323, in _get_build_requires
          self.run_setup()
        File "C:\Users\Krish Patel\AppData\Local\Temp\pip-build-env-m1ja30ph\overlay\Lib\site-packages\setuptools\build_meta.py", line 487, in run_setup
          super(_BuildMetaLegacyBackend,
        File "C:\Users\Krish Patel\AppData\Local\Temp\pip-build-env-m1ja30ph\overlay\Lib\site-packages\setuptools\build_meta.py", line 338, in run_setup
          exec(code, locals())
        File "<string>", line 12, in <module>
        File "C:\Program Files\Python310\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 24: character maps to <undefined>
      [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.

[notice] A new release of pip is available: 23.1.2 -> 23.2.1
[notice] To update, run: python.exe -m pip install --upgrade pip

Virtual Environment Info:

(openadapt-py3.10) PS P:\OpenAdapt AI - MLDS AI\cloned_repo\test_other\OpenAdapt> poetry env info

Virtualenv
Python:         3.10.11
Implementation: CPython
Path:           C:\Users\Krish Patel\AppData\Local\pypoetry\Cache\virtualenvs\openadapt-DSRh12US-py3.10
Executable:     C:\Users\Krish Patel\AppData\Local\pypoetry\Cache\virtualenvs\openadapt-DSRh12US-py3.10\Scripts\python.exe
Valid:          True

System
Platform:   win32
OS:         nt
Python:     3.10.11
Path:       C:\Program Files\Python310
Executable: C:\Program Files\Python310\python.exe
(openadapt-py3.10) PS P:\OpenAdapt AI - MLDS AI\cloned_repo\test_other\OpenAdapt> 
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant