Skip to content

Instantly share code, notes, and snippets.

@jfcherng
Forked from nesffer/Python3.5-Build.txt
Last active July 14, 2024 15:53
Show Gist options
  • Save jfcherng/28d1d7c91ba1bb463aa8d72178bc085c to your computer and use it in GitHub Desktop.
Save jfcherng/28d1d7c91ba1bb463aa8d72178bc085c to your computer and use it in GitHub Desktop.
Python 3.7 Build on Ubuntu 16.04
Python build finished successfully!
The necessary bits to build these optional modules were not found:
_bz2 _curses _curses_panel
_dbm _gdbm _lzma
_sqlite3 _ssl _tkinter
readline zlib _uuid
To find the necessary bits, look in setup.py in detect_modules() for the module's name.
sudo apt install libbz2-dev libncurses5-dev libgdbm-dev liblzma-dev sqlite3 libsqlite3-dev openssl libssl-dev tcl8.6-dev tk8.6-dev libreadline-dev zlib1g-dev uuid-dev
@jfcherng
Copy link
Author

jfcherng commented Jul 14, 2024

If you see this gist, I no longer build Python by myself. I use prebuilt https://github.com/indygreg/python-build-standalone/releases directly instead.

Specifically, I have https://github.com/jfcherng/python-build-standalone-install for my personal use.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment