problems installing Python 3.11

Bernd Lentes bernd.lentes at helmholtz-muenchen.de
Fri Aug 11 06:00:46 EDT 2023


>-----Original Message-----
>From: Terry Reedy <tjreedy at udel.edu>
>Sent: Thursday, August 10, 2023 9:55 PM
>To: Bernd Lentes <bernd.lentes at helmholtz-muenchen.de>
>Subject: Re: problems installing Python 3.11
>
>On 8/10/2023 3:28 PM, Bernd Lentes via Python-list wrote:
>
>Private response because cannot post at present.
>
>It appears that what failed is building a C++ extension.  (You can dig into the test
>code to check.  It is skipped on my Windows.)  If you do not need to do that, you
>should not have a problem.
>

Hi Terry,

I found out that cc1plus was missing. I installed g++, rerun make and this error disappeared.
But another has arised:

====================================================================================
--- STDERR ---
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/tmp/tmphpwu2qwj/cpython/Lib/sysconfig.py", line 715, in get_config_var
    return get_config_vars().get(name)
           ^^^^^^^^^^^^^^^^^
  File "/tmp/tmphpwu2qwj/cpython/Lib/sysconfig.py", line 670, in get_config_vars
    _init_posix(_CONFIG_VARS)
  File "/tmp/tmphpwu2qwj/cpython/Lib/sysconfig.py", line 531, in _init_posix
    _temp = __import__(name, globals(), locals(), ['build_time_vars'], 0)
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ModuleNotFoundError: No module named '_sysconfigdata__linux_x86_64-linux-gnu'

---- END ----
building python parallel='-j21' in /tmp/tmphpwu2qwj/python-build...
installing python into /tmp/tmphpwu2qwj/python-installation...
freezing /tmp/tmphpwu2qwj/app.py...
ok

----------------------------------------------------------------------
Ran 1 test in 95.606s

OK

== Tests result: FAILURE then SUCCESS ==

404 tests OK.

30 tests skipped:
    test_bz2 test_curses test_dbm_gnu test_dbm_ndbm test_devpoll
    test_gdb test_idle test_ioctl test_kqueue test_launcher test_lzma
    test_msilib test_nis test_ossaudiodev test_readline test_smtpnet
    test_sqlite3 test_ssl test_startfile test_tcl test_tix test_tk
    test_ttk_guionly test_ttk_textonly test_turtle test_winconsoleio
    test_winreg test_winsound test_zipfile64 test_zoneinfo

1 re-run test:
    test_tools

Total duration: 29 min 56 sec
Tests result: FAILURE then SUCCESS

================================================================================

Or does " FAILURE then SUCCESS" mean that everything is ok now ?

Bernd

Helmholtz Zentrum München – Deutsches Forschungszentrum für Gesundheit und Umwelt (GmbH)
Ingolstädter Landstraße 1, D-85764 Neuherberg, https://www.helmholtz-munich.de
Geschäftsführung: Prof. Dr. med. Dr. h.c. Matthias Tschöp, Daniela Sommer (komm.) | Aufsichtsratsvorsitzende: MinDir’in Prof. Dr. Veronika von Messling
Registergericht: Amtsgericht München HRB 6466 | USt-IdNr. DE 129521671


More information about the Python-list mailing list