Pip安装不断抛出奇怪的“ImportError”
我一直在尝试使用pip安装一些软件包并pyudev不断抛出导入错误。我不知道为什么它只发生在pyudev。它在我的其他计算机上安装得很好。这是命令和输出: $ sudo pip install pyudev Collecting pyudev Downloading pyudev-0.16.1.tar.gz (74kB) 100% |################################| 77kB 882kB/s Traceback (most recent call last): File "<string>", line 20, in <module> File "/tmp/pip-build-1Pk9rC/pyudev/setup.py", line 55, in <module> packages=setuptools.find_packages(), File "/usr/lib/python2.7/distutils/core.py", line 151, in setup dist.run_commands() File "/usr/lib/python2.7/distutils/dist.py", line 953, in run_commands self.run_command(cmd) File "/usr/lib/python2.7/distutils/dist.py", line …