简体   繁体   English

Linux Mint中的PyBluez安装错误

[英]PyBluez installation error in linux mint

I downloaded the zip folder from pybluez github account and then extracted it. 我从pybluez github帐户下载了zip文件夹,然后将其解压缩。 After going to the directory of pybluex-master, in Terminal, I type python setup.py install then, i get this error 转到pybluex-master目录后,在终端中,键入python setup.py install然后,出现此错误

Traceback (most recent call last):
  File "setup.py", line 3, in <module>
    from setuptools import setup, Extension
ImportError: No module named setuptools

please help me in this, how do i solve the issue? 请帮助我,我该如何解决这个问题?

why don't you try the follwings 你为什么不尝试以下

Python 2.x: Python 2.x:

sudo apt-get install python-setuptools

Python 3.x Python 3.x

sudo apt-get install python3-setuptools

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM