Skip to content

Windows support in the future? #6

@djismgaming

Description

@djismgaming

When trying to install on Windows using hf extensions install hf-agents:

PS C:\Users\Ismael> hf extensions install hf-agents
Binary not found, trying to install as Python extension...
Virtual environment created in C:\Users\Ismael\.local\share\hf\extensions\hf-agents\venv
Installing package from https://github.com/huggingface/hf-agents/archive/refs/heads/main.zipCollecting https://github.com/huggingface/hf-agents/archive/refs/heads/main.zip
  Downloading https://github.com/huggingface/hf-agents/archive/refs/heads/main.zip
     - 12.1 kB ? 0:00:00
ERROR: https://github.com/huggingface/hf-agents/archive/refs/heads/main.zip does not appear to be a Python project: neither 'setup.py' nor 'pyproject.toml' found.
Error: Traceback (most recent call last):
  File "F:\ai\huggingface\cli\venv\Lib\site-packages\huggingface_hub\cli\extensions.py", line 358, in _install_python_extension
    subprocess.run(
    ~~~~~~~~~~~~~~^
        [
        ^
    ...<9 lines>...
        timeout=_EXTENSIONS_PIP_INSTALL_TIMEOUT,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "C:\Python313\Lib\subprocess.py", line 577, in run
    raise CalledProcessError(retcode, process.args,
                             output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['C:\\Users\\Ismael\\.local\\share\\hf\\extensions\\hf-agents\\venv\\Scripts\\python.exe', '-m', 'pip', 'install', '--disable-pip-version-check', '--no-input', 'https://github.com/huggingface/hf-agents/archive/refs/heads/main.zip']' returned non-zero exit status 1.

Failed to install pip package from 'huggingface/hf-agents' (exit code 1). See pip output above for details.
Set HF_DEBUG=1 as environment variable for full traceback.

In WSL it does work but my RX 6800 does not appear there :( and RAM is limited as it's a VM basically.

ismael@GAMINGPC:/mnt/c/Users/Ismael$ hf agents fit system
A new version of hf-agents is available: 0.1.0 (current: 0.2.0)
  Update with: hf extensions install hf-agents


=== System Specifications ===
CPU: AMD Ryzen 5 5600X 6-Core Processor (12 cores)
Total RAM: 7.73 GB
Available RAM: 4.08 GB
Backend: CPU (x86)
GPU: Not detected

ismael@GAMINGPC:/mnt/c/Users/Ismael$

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