/ usr / local / bin / python2:没有名为pip的模块(Raspberry Pi / Jessie)

时间:2017-02-16 17:40:55

标签: python linux pip

我从stackoverflow得到了很多帮助,但我很难过,这是我的第一篇文章。我正在尝试从.deb文件安装OverGrive,并在安装时继续使用“/usr/local/bin/python2: No module named pip”。我很确定我已经遇到了所有依赖项,并且已经多次直接和通过我的包管理器卸载并重新安装了pip。显然存在某种路径/注册表类型问题,但我无法解决它。 10级,我的经验是4.谢谢!

pi@raspberrypi:~/Downloads $ sudo dpkg -i overgrive_3.2.3_all.deb    
(Reading database ... 136303 files and directories currently installed.)  
Preparing to unpack overgrive_3.2.3_all.deb ...  
/var/lib/dpkg/info/overgrive.prerm: line 5: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)  
Unpacking overgrive (3.2.3) over (3.2.3) ...  
Setting up overgrive (3.2.3) ...  
/usr/local/bin/python2: No module named pip    
dpkg: error processing package overgrive (--install):  
 subprocess installed post-installation script returned error exit status 1  
Processing triggers for desktop-file-utils (0.22-1) ...  
Processing triggers for mime-support (3.58) ...  
Processing triggers for libglib2.0-0:armhf (2.42.1-1) ...  
Errors were encountered while processing:  
 overgrive  
pi@raspberrypi:~/Downloads $ pip -V  
pip 9.0.1 from /usr/local/lib/python2.7/dist-packages/pip-9.0.1-py2.7.egg   (python 2.7)

0 个答案:

没有答案