Ubuntu: pip funktioniert nicht mit Python ist3.4

Versuchen, um pip funktioniert auf meinem Ubuntu-pc. pip scheint zu funktionieren für python2.7, bei anderen aber nicht.

Hier ist das problem:

$ pip
Traceback (most recent call last):
File "/usr/local/bin/pip", line 9, in <module>
load_entry_point('pip==1.4.1', 'console_scripts', 'pip')()
File "/usr/local/lib/python3.4/dist-packages/setuptools-1.1.5-py3.4.egg /pkg_resources.py", line 357, in load_entry_point
def get_entry_info(dist, group, name):
File "/usr/local/lib/python3.4/dist-packages/setuptools-1.1.5-py3.4.egg/pkg_resources.py", line 2394, in load_entry_point
break
File "/usr/local/lib/python3.4/dist-packages/setuptools-1.1.5-py3.4.egg/pkg_resources.py", line 2108, in load
name = some.module:some.attr [extra1,extra2]
ImportError: No module named 'pip'

$ which pip
/usr/local/bin/pip

$ python2.7 -m pip //here can be just python, btw
Usage:   
/usr/bin/python2.7 -m pip <command> [options]
//and so on...

$ python3.4 -m pip
/usr/bin/python3.4: No module named pip

Aus der Heimat/Benutzer/.pip/pip.log :

Exception:
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/pip/basecommand.py", line 122, in main
status = self.run(options, args)
File "/usr/lib/python2.7/dist-packages/pip/commands/install.py", line 283, in run
requirement_set.install(install_options, global_options, root=options.root_path)
File "/usr/lib/python2.7/dist-packages/pip/req.py", line 1431, in install
requirement.uninstall(auto_confirm=True)
File "/usr/lib/python2.7/dist-packages/pip/req.py", line 598, in uninstall
paths_to_remove.remove(auto_confirm)
File "/usr/lib/python2.7/dist-packages/pip/req.py", line 1836, in remove
renames(path, new_path)
File "/usr/lib/python2.7/dist-packages/pip/util.py", line 295, in renames
shutil.move(old, new)
File "/usr/lib/python2.7/shutil.py", line 303, in move
os.unlink(src)
OSError: [Errno 13] Permission denied: '/usr/bin/pip'

Gibt es kein /usr/bin/pip-btw.

Wie kann ich dieses Problem beheben arbeiten mit pip und python 3.4 normalerweise?
Ich bin versucht, pycharm, aber es ist der Paket-manager auch stucks in diesem problem.

Vielen Dank für die Aufmerksamkeit!

was bedeutet die pip3 Ausgang?
"Das Programm" pip3 " ist momentan nicht installiert. Sie können es installieren, indem Sie Folgendes eingeben: sudo apt-get install Python ist3-pip "
installieren Sie Python ist3-pip pro Nachricht. Haben Sie einen pip-2.7 auch?
Super!!! das Problem auf diese Weise. Vielen Dank!
du bist herzlich willkommen.

InformationsquelleAutor val_ | 2014-06-10

Schreibe einen Kommentar