Ask Your Question
1

Trouble with installation of Sage into a python venv

asked 2025-04-22 15:15:08 +0200

yanik gravatar image

Hey,

I am trying to install Sage into my python venv following the installation instructions from the README.

However, it keeps failing on the (sage-venv) $ python3 -m pip install -v sage_conf step. I get the following error message:

cp: conftest.py: No such file or directory ./configure: line 3: ./real_configure: No such file or directory mv: rename bak_conftest.py to conftest.py: No such file or directory configure failed; this may be caused by missing build prerequisites.

I am using Python 3.11.9 and pip 25.0.1 but I have also tried with Python 3.13.3 and got the same error message.

I am on macOS Sequioa Version 15.4

The error message tells me that:
configure failed; this may be caused by missing build prerequisites. You can install the required build prerequisites using the following shell command brew install bzip2 xz libffi

But I have these packages installed.

When I check in the .sage folder I see that conftest.py is indeed missing.

Best regards

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2025-07-06 12:05:18 +0200

You could try with a version lower than latest:

python3 -m pip install -v sage-conf==10.5

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2025-04-22 15:15:08 +0200

Seen: 384 times

Last updated: Apr 22