Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Python not found during configure

Open
#38 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
42/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
python
Domain
build-system

Research direction

Start by locating the configure script containing AC_CHECK_PROG(HAVE_PYTHON) and review how Python is detected. Test configuration on systems exposing python2 or python3 without python, and consider the requested handling of Python 2; done means configure succeeds with an available supported command.

Written by the indexing model from the issue text.

Description

Our system does not provide the command python, only python2 and python3. I believe this is becoming increasingly widespread.

The configure scripts accepts only python and I do not see a way to change this via options or environment variables.

I suggest to replace

AC_CHECK_PROG(HAVE_PYTHON,[python],[python],[no])

with

AC_CHECK_PROGS(HAVE_PYTHON,[python, python3, python2],[no])

Consider dropping support for python2.

Dominant language
C
Stars
112
Forks
35
PR merge metrics
No merged PRs in 30d

Getting set up

We have not checked this project's setup files yet. Start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from llnl/mpiP

All issues in llnl/mpiP

Similar issues

More C issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.