> Installing python3-pkg-resources and python3-setuptools from sid fixes this,
> making me believe python3-pip is missing a dependency.
Still doesn't work:

matthijs@login:~$ pip3
Traceback (most recent call last):
  File "/usr/bin/pip3", line 9, in <module>
    load_entry_point('pip==1.5.6', 'console_scripts', 'pip3')()
  File "/usr/lib/python3/dist-packages/pkg_resources.py", line 356, in 
load_entry_point
    return get_distribution(dist).load_entry_point(group, name)
  File "/usr/lib/python3/dist-packages/pkg_resources.py", line 2476, in 
load_entry_point
    return ep.load()
  File "/usr/lib/python3/dist-packages/pkg_resources.py", line 2190, in load
    ['__name__'])
  File "/usr/lib/python3/dist-packages/pip/__init__.py", line 61, in <module>
    from pip.vcs import git, mercurial, subversion, bazaar  # noqa
  File "/usr/lib/python3/dist-packages/pip/vcs/mercurial.py", line 9, in 
<module>
    from pip.download import path_to_url
  File "/usr/lib/python3/dist-packages/pip/download.py", line 23, in <module>
    from requests.adapters import BaseAdapter
ImportError: No module named 'requests.adapters'

Installing python3-requests from side fixes this, and gives me:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/pip/basecommand.py", line 122, in main
    status = self.run(options, args)
  File "/usr/lib/python3/dist-packages/pip/commands/install.py", line 290, in 
run
    requirement_set.prepare_files(finder, force_root_egg_info=self.bundle, 
bundle=self.bundle)
  File "/usr/lib/python3/dist-packages/pip/req.py", line 1146, in prepare_files
    req_to_install.run_egg_info()
  File "/usr/lib/python3/dist-packages/pip/req.py", line 295, in run_egg_info
    logger.notify('Running setup.py (path:%s) egg_info for package from %s' % 
(self.setup_py, self.url))
  File "/usr/lib/python3/dist-packages/pip/req.py", line 285, in setup_py
    if six.PY2 and isinstance(setup_py, six.text_type):
AttributeError: 'module' object has no attribute 'PY2'

Installing python3-six from sid makes pip3 run, but when installing the
bcrypt module I get:

x86_64-linux-gnu-gcc: error: unrecognized command line option 
‘-fstack-protector-strong’

Upgrading gcc to the sid version finally makes things work for me.

Note that I installed sid versions, but most of them are equal to the
testing versions, so it probably applies there as well.

Gr.

Matthijs

Attachment: signature.asc
Description: Digital signature

Reply via email to