Westhost Logo

Knowledgebase

Back to StackCP

Enable Python


Python is not enabled by default on StackCP shared hosting packages. It can be enabled on request by contacting support. Once enabled, it supports Python 3.9.25, accessible via /usr/bin/python.


Requesting Python access

  1. Contact support and request that Python be enabled on the package.
  2. Allow up to 30 minutes for the request to take effect once the support team confirm it has been enabled.
  3. Once enabled, run Python commands using /usr/bin/python.

Available modules

Python 3.9.25 on shared hosting includes the following modules:

future, _abc, _aix_support, _ast, _asyncio, _audit, _bisect, _blake2, _bootlocale, _bootsubprocess, _bz2, _capng, _cffi_backend, _codecs, _codecs_cn, _codecs_hk, _codecs_iso2022, _codecs_jp, _codecs_kr, _codecs_tw, _collections, _collections_abc, _compat_pickle, _compression, _contextvars, _crypt, _csv, _ctypes, _curses, _curses_panel, _datetime, _dbm, _dbus_bindings, _dbus_glib_bindings, _decimal, _distutils_hack, _elementtree, _functools, _gdbm, _hashlib, _heapq, _imp, _io, _json, _ldap, _locale, _lsprof, _lzma, _markupbase, _multibytecodec, _multiprocessing, _opcode, _operator, _osx_support, _peg_parser, _pickle, _posixshmem, _posixsubprocess, _py_abc, _pydecimal, _pyio, _queue, _random, _selinux, _semanage, _signal, _sitebuiltins, _socket, _sqlite3, _sre, _ssl, _stat, _statistics, _string, _strptime, _struct, _symtable, _sysconfigdata__linux_x86_64-linux-gnu, _thread, _threading_local, _tracemalloc, _uuid, _version, _warnings, _weakref, _weakrefset, _xxsubinterpreters, _yaml, _zoneinfo, abc, acme, aifc, antigravity, argcomplete, argparse, array, ast, asynchat, asyncio, asyncore, atexit, audioop, audit, augeas, auparse, babel, base64, bdb, binascii, binhex, bisect, builtins, bz2, calendar, capng, certbot, cffi, cgi, cgitb, chardet, chunk, cmath, cmd, code, codecs, codeop, collections, colorsys, compileall, concurrent, configargparse, configobj, configparser, contextlib, contextvars, copy, copyreg, cProfile, crypt, cryptography, csv, ctypes, curses, dataclasses, datetime, dateutil, dbm, dbus, decimal, decorator, difflib, dis, distro, distutils, dnf, dnfpluginscore, dns, doctest, email, encodings, ensurepip, enum, errno, faulthandler, fcntl, filecmp, fileinput, firewall, fnmatch, formatter, fractions, ftplib, functools, gc, genericpath, getopt, getpass, gettext, gi, glob, gpg, graphlib, grp, gssapi, gzip, hashlib, hawkey, heapq, hmac, html, http, idna, imaplib, imghdr, imp, importlib, importlib_metadata, inspect, io, ipaclient, ipaddress, ipalib, ipaplatform, ipapython, itertools, jinja2, josepy, json, jwcrypto, keyword, ldap, ldapurl, ldif, lib2to3, libcomps, libdnf, linecache, locale, logging, lzma, mailbox, mailcap, markupsafe, marshal, math, mimetypes, mmap, modulefinder, multiprocessing, MySQLdb, netaddr, netifaces, netrc, nftables, nntplib, ntpath, nturl2path, numbers, opcode, OpenSSL, operator, optparse, os, ossaudiodev, parsedatetime, parser, pathlib, pdb, perf, pickle, pickletools, pipes, pkg_resources, pkgutil, platform, plistlib, ply, poplib, posix, posixpath, pprint, procfs, profile, pstats, pty, pwd, py_compile, pyasn1, pyasn1_modules, pyclbr, pycparser, pydoc, pydoc_data, pyexpat, pygtkcompat, pyhbac, pyinotify, pyparsing, pyrfc3339, pysss, pysss_murmur, pytz, pyudev, qrcode, queue, quopri, random, re, readline, reprlib, requests, resource, rlcompleter, rpm, runpy, sched, secrets, select, selectors, selinux, semanage, seobject, sepolgen, sepolicy, setools, setuptools, shelve, shlex, shutil, signal, site, six, slapdtest, smtpd, smtplib, sndhdr, socket, socketserver, socks, sockshandler, spwd, sqlite3, sre_compile, sre_constants, sre_parse, ssl, sssd, SSSDConfig, stat, statistics, string, stringprep, struct, subprocess, sunau, symbol, symtable, sys, sysconfig, syslog, systemd, tabnanny, tarfile, telnetlib, tempfile, termios, textwrap, this, threading, time, timeit, token, tokenize, trace, traceback, tracemalloc, tty, tuned, types, typing, unicodedata, unittest, urllib, urllib3, usb, uu, uuid, validate, venv, warnings, wave, weakref, webbrowser, wsgiref, xdrlib, xml, xmlrpc, xxlimited, xxsubtype, yaml, yubico, zipapp, zipfile, zipimport, zipp, zlib, zoneinfo



Related Articles

How do I connect via FTP?
How To Access Your Site Using SSH
Wordpress SMTP
How do I log into StackCP
How to Change PHP Version

Can’t Find what you need?

No worries, Our experts are here to help.