Mail.ruПочтаМой МирОдноклассникиВКонтактеИгрыЗнакомстваНовостиКалендарьОблакоЗаметкиВсе проекты

Ошибка "use_2to3 is invalid." Linux LMDE 6

LLoad Знаток (250), на голосовании 2 месяца назад
(venv) root@LLoad:~# pip install PyBluez
Collecting PyBluez
Downloading PyBluez-0.23.tar.gz (97 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 97.6/97.6 kB 645.7 kB/s eta 0:00:00
Preparing metadata (setup.py) ... error
error: subprocess-exited-with-error

× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [1 lines of output]
error in PyBluez setup command: use_2to3 is invalid.
[end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed

× Encountered error while generating package metadata.
╰─> See above for output.

note: This is an issue with the package mentioned above, not pip.
hint: See above for details.

При попытке установить модуль PyBluez

На винде идентичная ошибка
Дополнен 3 месяца назад
Голосование за лучший ответ
ǫᴜᴢᴢ Мастер (1579) 3 месяца назад
 pip3 install PyBluez  
 git clone https://github.com/pybluez/pybluez  
 cd pybluez 
python3 setup.py install
Похожие вопросы