Python Forum
How can prepare the modules when compiling python3.11?
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How can prepare the modules when compiling python3.11?
#1
Compile python-3.11:

curl -O https://www.python.org/ftp/python/3.11.0...rc2.tar.xz
tar -xf Python-3.11.0rc2.tar.xz
cd Python-3.11.0rc2/
./configure --enable-optimizations
make -j 4

It encounter the following error:

The necessary bits to build these optional modules were not found:
_bz2 _curses _curses_panel
_dbm _gdbm _hashlib
_lzma _ssl _tkinter
_uuid readline zlib

How can fix it?
Reply
#2
What is your os?

Somebody else had the same problem.

https://stackoverflow.com/questions/4976...on3-4-from

It also appears that the message is not an error. At least according to this writeup.

https://getkt.com/2019/11/23/compile-and...-on-linux/

So if you don't plan on using bz2_curses_curses_panel, you don't need to worry that it cannot be built.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Compiling (PyInstaller issues) TheHolyPyGrenade 1 1,930 Apr-11-2021, 08:30 PM
Last Post: snippsat
  Compiling SlicerCAT flaviu2 1 1,867 Sep-21-2020, 08:38 AM
Last Post: buran
  Compiling on win10 ebolisa 1 1,763 Sep-04-2020, 04:39 PM
Last Post: ebolisa
  Compiling to windows installer DT2000 1 1,573 May-04-2020, 09:17 PM
Last Post: DT2000
  Gnuradio python3 is not compatible python3 xmlrpc library How Can I Fix İt ? muratoznnnn 3 4,927 Nov-07-2019, 05:47 PM
Last Post: DeaD_EyE
  installation directory of modules in python3.7 srm 2 2,745 Jul-11-2019, 01:06 PM
Last Post: joe_momma
  Compiling python CommanderCody66 7 113,362 Apr-19-2019, 08:12 PM
Last Post: snippsat
  Having Trouble Compiling From Source (3.7.2) pnicolosi78 6 8,614 Feb-06-2019, 07:24 PM
Last Post: nilamo
  How to know modules contained by python3 library sylas 3 5,204 Sep-04-2018, 01:40 PM
Last Post: sylas
  compiling python using pyinstaller sabeesh90 0 2,670 Aug-16-2018, 09:58 AM
Last Post: sabeesh90

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020