Skip to content

DOC:  #55125

Open
Open
DOC: #55125
@willhsp

Description

@willhsp

Pandas version checks

  • I have checked that the issue still exists on the latest versions of the docs on main here

Location of the documentation

https://pandas.pydata.org/docs/development/contributing_environment.html

Documentation problem

Meson required a C++ compiler in order to build pandas. However, the docs only mentioned installing a C compiler. This is a portion of the output log from running python -m pip install -ve . --no-build-isolation

` The Meson build system
Version: 1.0.1
Source dir: /home/william/Work/pandas
Build dir: /home/william/Work/pandas/build/cp310
Build type: native build
Project name: pandas
Project version: 2.2.0dev0+216.g705d4312cf
C compiler for the host machine: cc (gcc 11.4.0 "cc (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0")
C linker for the host machine: cc ld.bfd 2.38

../../meson.build:2:0: ERROR: Unknown compiler(s): [['c++'], ['g++'], ['clang++'], ['nvc++'], ['pgc++'], ['icpc'], ['icpx']]
The following exception(s) were encountered:
Running c++ --version gave "[Errno 2] No such file or directory: 'c++'"
Running g++ --version gave "[Errno 2] No such file or directory: 'g++'"
Running clang++ --version gave "[Errno 2] No such file or directory: 'clang++'"
Running nvc++ --version gave "[Errno 2] No such file or directory: 'nvc++'"
Running pgc++ --version gave "[Errno 2] No such file or directory: 'pgc++'"
Running icpc --version gave "[Errno 2] No such file or directory: 'icpc'"
Running icpx --version gave "[Errno 2] No such file or directory: 'icpx'"
`

I'm not confident this isn't a me issue.

Using
Python 3.10.12
pip 22.0.2
setuptools 59.6.0

Suggested fix for documentation

Add a section explaining that a C++ compiler is also required

Metadata

Metadata

Assignees

No one assigned

    Labels

    BuildLibrary building on various platformsDocs

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions