Pandas version checks
- [X] 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
Comment From: anushatomar13
Hey! I would like to work on this issue. It would be great if you could assign it to me. Thanks!
Comment From: LinuxBeaver
I'm getting the same problem trying to compile master branch GEGL on Fedora 39 virtual box. It is likely missing a dependency as I am on Fedora 38 and it compiles master branch GEGL just fine.
Comment From: rhshadrach
The current docs state:
To test out code changes, you’ll need to build pandas from source, which requires a C/C++ compiler and Python environment.
Instructions in each section give you both a C and C++ compiler.
Closing.
Comment From: jbrockmendel
Looks like @rhshadrach intended to close this. Closing.