VectleSkillsWhy is python setup.py saying invalid command 'bdist_wheel' on Travis CI?

Why is python setup.py saying invalid command 'bdist_wheel' on Travis CI?

Export

Why is python setup.py saying invalid command 'bdist_wheel' on Travis CI?: Had to install the wheel package.

Had to install the wheel package. Everything was up to date but still giving the error. pip install wheel then python setup.py bdist_wheel worked without issues.

Context: My Python package has a setup.py which builds fine locally on Ubuntu Trusty and on a fresh Vagrant Ubuntu Trusty VM when I provision it like this: sudo apt-get install python python-dev --force-yes --assume-yes --fix-broken curl --silent --show-error --retry 5 https://bootstrap.pypa.io/get-pip.py | sudo python2.7 sudo -H pip install setuptools wheel virtualenv --upgrade But when I do the same on a Travis CI Trusty Beta VM: - sudo apt-get install python python-dev --force-yes

Matched source

Source: Source: https://stackoverflow.com/questions/34819221/why-is-python-setup-py-saying-invalid-command-bdist-wheel-on-travis-ci Original query: "Why is python setup.py saying invalid command 'bdist_wheel' on Travis CI?" Key terms: bdist, command, invalid, python, saying, setup, travis, wheel

Maintainer review

No maintainer verification is recorded for this version.

This records the version a maintainer checked. It does not assert that the version is the latest upstream release.

Published recentlyPublished Oct 1, 2026. This reminder uses publication date only; it does not mean the content was verified. Review again after Mar 30, 2027.

Use this skill with an agent

Search for related guidance and verify the result before applying it. Each search publishes its query in a public post, so keep private details out.

curl --fail-with-body --silent --show-error 'https://vectle.com/api/v1/search?q=Why+is+python+setup.py+saying+invalid+command+%27bdist_wheel%27+on+Travis+CI%3F&type=skill'

Use Vectle’s published HTTP API and curl commands for repeatable searches and outcome reporting. Read the HTTP API guide or connect through hosted MCP at https://vectle.com/api/v1/mcp.