Skip to content

Cannot work in windows #7

@Freed-Wu

Description

@Freed-Wu
C:\hostedtoolcache\windows\Python\3.11.4\x64\Lib\site-packages\pip_cache\__init__.py:25: in <module>
    os.mkdir(pip_cache_data_dir)
E   FileNotFoundError: [WinError 3] The system cannot find the path specified: 'C:\\Users\\runneradmin\\.local\\share\\pip-cache'

I advice use platformdirs's user_data_dir() to replace hard encoded .local/share.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions