Results 1 to 3 of 3

Thread: 13.1, python3, pip-3.3 not working

  1. #1

    Default 13.1, python3, pip-3.3 not working

    hi,

    I have python 2 and 3 installed,
    the default pip (/usr/bin/pip) points, via /etc/alternatives/, to pip-3.3

    Code:
    pip
    Traceback (most recent call last):
      File "/usr/bin/pip", line 9, in <module>
        load_entry_point('pip==1.4', 'console_scripts', 'pip-3.3')()
      File "/usr/lib/python3.3/site-packages/pkg_resources.py", line 378, in load_entry_point
        return get_distribution(dist).load_entry_point(group, name)
      File "/usr/lib/python3.3/site-packages/pkg_resources.py", line 2566, in load_entry_point
        return ep.load()
      File "/usr/lib/python3.3/site-packages/pkg_resources.py", line 2260, in load
        entry = __import__(self.module_name, globals(),globals(), ['__name__'])
      File "/usr/lib/python3.3/site-packages/pip/__init__.py", line 11, in <module>
        from pip.vcs import git, mercurial, subversion, bazaar  # noqa
      File "/usr/lib/python3.3/site-packages/pip/vcs/mercurial.py", line 9, in <module>
        from pip.download import path_to_url2
      File "/usr/lib/python3.3/site-packages/pip/download.py", line 147, in <module>
        class VerifiedHTTPSHandler(urllib.request.HTTPSHandler):
    AttributeError: 'module' object has no attribute 'request'
    this is not good.
    possible I miss just some package installed?

    pip-2.7 works normal.

  2. #2
    Join Date
    Feb 2010
    Location
    Scottsdale, AZ
    Posts
    189

    Default Re: 13.1, python3, pip-3.3 not working

    I don't know if this will help, but when I installed openSUSE 13.1, some things about python 3.3 did not work. I had to add the python3 repository and update all the python packages through that to get it to work.

  3. #3

    Default Re: 13.1, python3, pip-3.3 not working

    Quote Originally Posted by evetsnameloc View Post
    I don't know if this will help, but when I installed openSUSE 13.1, some things about python 3.3 did not work. I had to add the python3 repository and update all the python packages through that to get it to work.
    seems to fix it, thanks

    I think that should go to update, and also that the default pip it the same as the default python
    it is somehow inconsistent having python linked to python2.7 and pip to 3.3
    I also could imagine that for some people this is an impediment to use openSUSE and they switch immediately back to where they come from
    python is somehow to important to make troubles

    question: shall I try to find the right location for a bug report?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •