Skip to content

Error with installation #323

@metalshanked

Description

@metalshanked

Describe the bug
Error with Python 3.13.1

 File "C:\Python313\Lib\tarfile.py", line 2430, in _get_extract_tarinfo
    filtered = filter_function(unfiltered, path)
  File "K:\App\myapp\.venv\Lib\site-packages\pip\_internal\utils\unpacking.py", line 208, in pip_filter
    member = data_filter(member, location)
  File "C:\Python313\Lib\tarfile.py", line 848, in data_filter
    new_attrs = _get_filtered_attrs(member, dest_path, True)
  File "C:\Python313\Lib\tarfile.py", line 773, in _get_filtered_attrs
    dest_path = os.path.realpath(dest_path, strict=os.path.ALLOW_MISSING)
                                                   ^^^^^^^^^^^^^^^^^^^^^
AttributeError: module 'ntpath' has no attribute 'ALLOW_MISSING'

Environment

Python environment:

pip list
python --version
Which version of Elasticsearch are you using? 8.1.3

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