Python Modules on Bluehost

Learn about the Python modules available on Bluehost servers, including both Python 3.9 and Python 2.7 environments.

Python Modules

Python is a flexible scripting language that functions between systems and interfaces. Python is used to simplify code writing with logical, simple code, used for small and large-scale projects and applications.

Newer servers run Python 3.9, which is faster and has more features. If you have new projects, Python 3.9+ is the better option. Older servers use Python 2.7 for legacy apps.

Python is preinstalled on Bluehost with CentOS. Depending on your type of account or server, you may need to install or update the Python version based on your needs.

Follow this guide to upload Python first if you need to add it to your server: How to Install Python on a Hosting Server.

See the list of modules below.

Python 3.9 Modules

These Python 3.9 modules are currently installed on servers. Any modules NOT listed are either incompatible or not allowed.

__future__ encodings os sqlite3
_abc ensurepip ossaudiodev smtpd
_aix_support enum packaging smtplib
_ast errno parser sndhdr
_asyncio faulthandler pathlib socket
_audit fcntl pdb socketserver
_bisect filecmp perf socks
_blake2 fileinput pickle sockshandler
_bootlocale filelock pickletools spwd
_bootsubprocess firewall pip sqlite3
_bz2 fnmatch pipes sre_compile
_capng formatter pkg_resources sre_constants
_codecs fractions pkgutil sre_parse
_codecs_cn ftplib platform ssl
_codecs_hk functools platformdirs stat
_codecs_iso2022 gc plistlib statistics
_codecs_jp genericpath ply string
_codecs_kr getopt poplib stringprep
_codecs_tw getpass posix struct
_collections gettext posixpath subprocess
_collections_abc gi pprint sunau
_compat_pickle glob prettytable symbol
_compression gpg procfs symtable
_contextvars graphlib profile sys
_crypt grp pstats sysconfig
_csv gzip pty syslog
_ctypes hashlib py_compile systemd
_curses hawkey pyclbr tabnanny
_curses_panel heapq pydoc tarfile
_datetime hgdemandimport pydoc_data telnetlib
_dbm hgext pyexpat tempfile
_dbus_bindings hgext3rd pygtkcompat termios
_dbus_glib_bindings hmac pyinotify textwrap
_decimal html pyparsing threading
_distutils_hack http pyrsistent time
_elementtree idna pytz timeit
_functools imaplib pyudev tkinter
_gdbm imghdr queue token
_hashlib imp quopri tokenize
_heapq importlib random trace
_imp inspect re traceback
_io io readline tracemalloc
_json ipaddress reprlib tty
_locale isc requests tuned
_lsprof itertools resource turtle
_lzma jinja2 rlcompleter turtledemo
_markupbase json rpm types
_multibytecodec jsonpatch runpy typing
_multiprocessing jsonpointer sched unicodedata
_opcode jsonschema secrets unittest
_operator keyword select urllib
_osx_support lib2to3 selectors urllib3
_peg_parser libcomps selinux uu
_pickle libdnf semanage uuid
_posixshmem librepo seobject validate
_posixsubprocess linecache sepolicy venv
_py_abc locale sepolgen virtualenv
_pydecimal logging serial warnings
_pyio lxml setools wave
_pyrsistent_version lzma setuptools weakref
_queue mailbox shelve webbrowser
_random mailcap shlex wsgiref
_selinux markupsafe shutil xdrlib
_semanage marshal signal xml
_signal math site xmlrpc
_sitebuiltins mercurial six xxlimited
_socket mimetypes smtp d xxsubtype
_sqlite3 mmap smtplib yaml
_sre modulefinder sndhdr zipapp
abc hgext3rd reprlib zipfile
aifc hmac requests zipimport
antigravity html resource zlib
argparse http rlcompleter zoneinfo
array idna rpm  

Additional Resources

Python's documentation, tutorials, and guides, are constantly evolving and can be viewed by version and other resources.

Summary

To ensure scripts run efficiently for your needs the process involves installing or updating the correct scripts and software versions when utilizing it on your server.

If you need further assistance, Bluehost Chat Support is available 24 hours a day, 7days a week while Bluehost Phone Support is available 7 days a week from 7 am-12 midnight EST. 

  • Chat Support -  While on our website, you should see a CHAT bubble in the bottom right-hand corner of the page. Click anywhere on the bubble to begin a chat session.
  • Phone Support -
    • US: 888-401-4678
    • International: +1 801-765-9400

You may also refer to our Knowledge Base articles to help answer common questions and guide you through various setup, configuration, and troubleshooting steps.