pandas-dev / pandas

Flexible and powerful data analysis / manipulation library for Python, providing labeled data structures similar to R data.frame objects, statistical functions, and much more
https://pandas.pydata.org
BSD 3-Clause "New" or "Revised" License
43.29k stars 17.8k forks source link

DOC: #55125

Open willhsp opened 1 year ago

willhsp commented 1 year ago

Pandas version checks

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

anushatomar13 commented 11 months ago

Hey! I would like to work on this issue. It would be great if you could assign it to me. Thanks!

LinuxBeaver commented 6 months ago

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.