Skip to content

ERROR: Package 'unsloth-2024.1' requires a different Python: 3.8.10 not in '>=3.9' #66

Closed

Description

@wasertech
 > [21/23] RUN pip install "unsloth[cu121_torch211] @ git+https://github.com/unslothai/unsloth.git":                                                                                         
1.136 Collecting unsloth[cu121_torch211]@ git+https://github.com/unslothai/unsloth.git                                                                                                       
1.136   Cloning https://github.com/unslothai/unsloth.git to /tmp/pip-install-ptgzpiwm/unsloth                                                                                                
1.136   Running command git clone -q https://github.com/unslothai/unsloth.git /tmp/pip-install-ptgzpiwm/unsloth                                                                              
2.604   Installing build dependencies: started                                                                                                                                               
6.648   Installing build dependencies: finished with status 'done'
6.649   Getting requirements to build wheel: started
6.932   Getting requirements to build wheel: finished with status 'done'
6.936   Installing backend dependencies: started
9.363   Installing backend dependencies: finished with status 'done'
9.365     Preparing wheel metadata: started
9.693     Preparing wheel metadata: finished with status 'done'
9.773 ERROR: Package 'unsloth-2024.1' requires a different Python: 3.8.10 not in '>=3.9'

Python 3.8 has reach EOL quite some time ago... please update it or at least don't restrict currently supported versions.

Activity

  1. wasertech commented on Jan 6, 2024

    @wasertech
    Author

    Nevermind it's me that need to update my docker image 😂

  2. danielhanchen commented on Jan 6, 2024

    @danielhanchen
    Member

    Glad you solved it! :)

  3. SantoshGuptaML commented on Jun 24, 2024

    @SantoshGuptaML

    What was the issue? I am running into the same thing

  4. wasertech commented on Jun 24, 2024

    @wasertech
    Author

    The error is pretty explicit @SantoshGuptaML

    Package 'unsloth-2024.1' requires a different Python: 3.8.10 not in '>=3.9'

    This means I was using a python 3.8.10 env, where the package unsloth requires python>=3.9.

    What was the issue?

    The issue is that the version of python you are running is old and depreciated (EOL). You should upgrade python to fix this error.

  5. danielhanchen commented on Jul 1, 2024

    @danielhanchen
    Member

    Sadly ye we require 3.9 or higher

  6. added a commit that references this issue on Jun 8, 2025
  7. added a commit that references this issue on Jun 25, 2025
  8. added a commit that references this issue on Jul 7, 2025
  9. added a commit that references this issue on Mar 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions