Why is python setup.py saying invalid command 'bdist_wheel' on Travis CI?
Jan 2020
2 hours wasted.
On a AWS Ubuntu 18.04 new machine
, below installations are required:
sudo apt-get install gcc libpq-dev -ysudo apt-get install python-dev python-pip -ysudo apt-get install python3-dev python3-pip python3-venv python3-wheel -ypip3 install wheel
Especially the last line is must.
However before 3 lines might be required as prerequisites.
Hope that helps.