. Advertisement .
..3..
. Advertisement .
..4..
I am working with python and getting the error message:
python2.7 setup.py bdist_wheel
usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
or: setup.py --help [cmd1 cmd2 ...]
or: setup.py --help-commands
or: setup.py cmd --help
error: invalid command 'bdist_wheel'
Here is the detail of the code that I ran
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
- 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
I need an explanation for the problems I’ve encountered. How to fix error: invalid command ‘bdist_wheel’?
The cause: The cause of this error perhaps because you haven’t installed
wheel
package.The solution: To fix this problem, you’ll need to install
wheel
package. Just use the below command:Then run:
Below are the required installations for an AWS
Ubuntu 18.04 new machine
.The last line is the most important. However, the first 3 lines may be necessary as prerequisites.