Zan*_*eko 5 python pip pybluez
我在尝试着pip install pybluez,但收到此错误:
Collecting PyBluez\n Using cached PyBluez-0.23.tar.gz (97 kB)\n Preparing metadata (setup.py) ... error\n error: subprocess-exited-with-error\n\n \xc3\x97 python setup.py egg_info did not run successfully.\n \xe2\x94\x82 exit code: 1\n \xe2\x95\xb0\xe2\x94\x80> [1 lines of output]\n error in PyBluez setup command: use_2to3 is invalid.\n [end of output]\n\n note: This error originates from a subprocess, and is likely not a problem with pip.\nerror: metadata-generation-failed\n\n\xc3\x97 Encountered error while generating package metadata.\n\xe2\x95\xb0\xe2\x94\x80> See above for output.\n\nnote: This is an issue with the package mentioned above, not pip.\nhint: See above for details.\nRun Code Online (Sandbox Code Playgroud)\n我该如何解决这个问题?
\n编辑:\n结果它没有针对 Windows 进行更新,所以我只是切换到 Linux vb
\nvin*_*zee 13
正如Mike 'Pomax' Kamermans 所建议的,您可以通过从源代码安装软件包来解决此问题:
pip install git+https://github.com/pybluez/pybluez.git#egg=pybluez
Run Code Online (Sandbox Code Playgroud)
的确,
pypi 版本已经过时,这个问题很久以前就在 dev 版本中修复了。
| 归档时间: |
|
| 查看次数: |
9506 次 |
| 最近记录: |