Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/macos/9.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
ImportError:更新python 2.7.3后没有名为bluetooth的模块->;2.7.9_Python - Fatal编程技术网

ImportError:更新python 2.7.3后没有名为bluetooth的模块->;2.7.9

ImportError:更新python 2.7.3后没有名为bluetooth的模块->;2.7.9,python,Python,我在raspberry中将python从2.7.3更新为2.7.9 首先,我从python.org下载源代码并configure&make&makeinstall 不,当我在终端python 2.7.9中命令python执行时 Python 2.7.9 (default, Jan 27 2015, 21:20:44) [GCC 4.6.3] on linux2 Type "help", "copyright", "credits" or "license" for more informatio

我在raspberry中将python从2.7.3更新为2.7.9

首先,我从python.org下载源代码并
configure&make&makeinstall

不,当我在终端python 2.7.9中命令python执行时

Python 2.7.9 (default, Jan 27 2015, 21:20:44)
[GCC 4.6.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
但是我从apt get install安装的所有模块现在都是未知的

sudo-apt-get-install-python-bluez


如何修复它?

为什么您通过
apt-get
而不是通过
pip
安装Python模块?因为apt-get比pip:D更简单。。。现在我通过pip?0_o重新安装模块,
apt如何比
pip
更简单?