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] UnicodeDecodeError During pip install . in Mithril Package #195

Open
AlperenOvak opened this issue Feb 15, 2025 · 0 comments
Open
Labels
bug Something isn't working

Comments

@AlperenOvak
Copy link

Bug Report

Describe the Bug

When running pip install . inside the mithril package directory, the installation fails with a UnicodeDecodeError. The error occurs while reading setup.py, specifically while reading the long_description file. The error message suggests that the file contains characters that cannot be decoded using the default cp1252 encoding on Windows.

To Reproduce

  1. Clone the repository or navigate to the mithril package directory.
  2. Run:
    pip install .  
  3. The installation fails with the following traceback:
    UnicodeDecodeError: 'charmap' codec can't decode byte 0x8f in position 2275: character maps to <undefined>
    

Expected Behavior

The package should install without errors.

Additional Context

The issue is likely caused by the long_description field in setup.py when reading README.md or another file.

System Info

  • OS: Windows 10/11
  • Mithril Version: 0.1.1
  • Torch Version: 2.6.0+cpu
  • MLX Version: NaN
  • NumPy Version: 2.2.3
  • JAX Version: NaN
  • Python Version: 3.12.9
  • Architecture: x64
@aturker-synnada aturker-synnada added the bug Something isn't working label Feb 15, 2025
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
Development

No branches or pull requests

2 participants