pip install with this error “UnicodeDecodeError: 'utf-8' codec can't decode byte”

Open
#3,491 2 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
32/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
python
Domain
build-system

Research direction

Reproduce the failure with pip install git+https://github.com/h2oai/datatable on Windows 11 using Python 3.12.1, then inspect the pyproject.toml metadata-preparation step and the full build output around the UnicodeDecodeError. Done means identifying the non-UTF-8 input involved and making installation complete successfully.

Written by the indexing model from the issue text.

Description

  • How to reproduce the bug?
    This part is the most important. Please provide a code snippet which, when
    executed in console, demonstrates the problem. If necessary, attach any data
    files to the issue.

A: pip install -U datatable

  • Your environment?
    What is your datatable version, python version, and operating system?

A: conda python3.12.1 windows11 msvc

` pip install git+https://github.com/h2oai/datatable
Collecting git+https://github.com/h2oai/datatable
Cloning https://github.com/h2oai/datatable to d:\maryjeck\temp\pip-req-build-vpoig73t
Running command git clone --filter=blob:none --quiet https://github.com/h2oai/datatable 'D:\Maryjeck\Temp\pip-req-build-vpoig73t'
Resolved https://github.com/h2oai/datatable to commit b1a87103c55433dc2069df28a460f3ad15450025
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... error
error: subprocess-exited-with-error

UnicodeDecodeError: 'utf-8' codec can't decode byte 0xb8 in position 85: invalid start byte
`

Dominant language
C++
Stars
1.9k
Forks
164
PR merge metrics
No merged PRs in 30d

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from h2oai/datatable

All issues in h2oai/datatable

Similar issues

More C++ issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.