Skip to content

BUG: Failed to build pandas typed-ast #47681

@kzawad1

Description

@kzawad1

Pandas version checks

  • I have checked that this issue has not already been reported.

  • I have confirmed this bug exists on the latest version of pandas.

  • I have confirmed this bug exists on the main branch of pandas.

Reproducible Example

In order to reproduce the following needs to be done:
1. Setup a Windows 11 Pro x86 Virtual Machine.
2. Install Visual Studio 2022 Dev Tools.
3. Install Python 3.10.5.
4. Create a requirements.txt file with "pandas==1.1.5".
5. From the command prompt, run command: "pip install -v -r requirements.txt".
6. Wait for the error to be displayed.

Issue Description

Can't download or build pandas library on Windows 11 & Python 3.10.5.

When calling the PIP command as:

pip install -v -r requirements.txt

Getting the output:

Failed to build pandas typed-ast
ERROR: Could not build wheels for pandas, which is required to install pyproject.toml-based projects

Attachment has detailed output.
pip_install_type-ast_error.txt

Expected Behavior

Expecting to be able to install pandas with pip command.

Installed Versions

Details

Replace this line with the output of pd.show_versions()

Pandas will not install on Windows 11 with Python 3.10.5, so can't get the version or call pd.show_versions(). This needs to be resolved for Windows 11.

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugNeeds TriageIssue that has not been reviewed by a pandas team member

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions