【发布时间】:2023-03-05 01:39:01
【问题描述】:
我已经安装了这些包,但是遇到了traceback,它显示了error: invalid command 'bdist_wheel'。
我引用了Why can I not create a wheel in python?
wheel ,setuptools --force, --upgrade pip 已全部更新和安装。
所以我很困惑为什么它仍然出错。
[192.168.15.xxx] out: Running setup.py bdist_wheel for bokeh ... [?25lerror
[192.168.15.xxx] out: Complete output from command /home/user/project/weather_station/venv/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-25c2v483/bokeh/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" bdist_wheel -d /tmp/tmpn5f73qcnpip-wheel- --python-tag cp35:
[192.168.15.xxx] out:
[192.168.15.xxx] out:
[192.168.15.xxx] out: usage: -c [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
[192.168.15.xxx] out: or: -c --help [cmd1 cmd2 ...]
[192.168.15.xxx] out: or: -c --help-commands
[192.168.15.xxx] out: or: -c cmd --help
[192.168.15.xxx] out:
[192.168.15.] out: error: invalid command 'bdist_wheel'
【问题讨论】:
-
这个错误的任何解决办法???
-
你安装
wheel了吗?