pip3 install error

Bug #1566251 reported by Chris
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Bazaar
Invalid
Undecided
Unassigned

Bug Description

Hi,

when I try to install bzr with pip3 on ubuntu server 14.04 an error is raised.

Collecting bzr
  Using cached bzr-2.7.0.tar.gz
    Complete output from command python setup.py egg_info:
    running egg_info
    creating pip-egg-info/bzr.egg-info
    writing dependency_links to pip-egg-info/bzr.egg-info/dependency_links.txt
    writing pip-egg-info/bzr.egg-info/PKG-INFO
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/tmp/pip-build-bzgv4jsj/bzr/setup.py", line 781, in <module>
        setup(**ARGS)
      File "/usr/lib/python3.4/distutils/core.py", line 148, in setup
        dist.run_commands()
      File "/usr/lib/python3.4/distutils/dist.py", line 955, in run_commands
        self.run_command(cmd)
      File "/usr/lib/python3.4/distutils/dist.py", line 974, in run_command
        cmd_obj.run()
      File "/usr/lib/python3/dist-packages/setuptools/command/egg_info.py", line 156, in run
        writer(self, ep.name, os.path.join(self.egg_info,ep.name))
      File "/usr/lib/python3/dist-packages/setuptools/command/egg_info.py", line 322, in write_pkg_info
        metadata.write_pkg_info(cmd.egg_info)
      File "/usr/lib/python3.4/distutils/dist.py", line 1108, in write_pkg_info
        self.write_pkg_file(pkg_info)
      File "/usr/lib/python3.4/distutils/dist.py", line 1129, in write_pkg_file
        long_desc = rfc822_escape(self.get_long_description())
      File "/usr/lib/python3.4/distutils/util.py", line 470, in rfc822_escape
        lines = header.split('\n')
    TypeError: 'str' does not support the buffer interface

These are installed packages: pip3 list
command-not-found (0.3)
Cython (0.24)
language-selector (0.1)
pip (8.1.1)
pygobject (3.12.0)
python-apt (0.9.3.5ubuntu2)
setuptools (3.3)
ufw (0.34-rc-0ubuntu2)
unattended-upgrades (0.1)
virtualenv (14.0.6)

Where am I wrong?

thanks
Christian

Tags: install pip3
Revision history for this message
Vincent Ladeuil (vila) wrote :

> Where am I wrong?

Trying to install a python2 package with pip3 maybe ?

At the very least, I think pip3 should report a better error in that case.

Changed in bzr:
status: New → Incomplete
Revision history for this message
Chris (christian-fontana) wrote :

Thanks, I read only the pypi page and I've not found the library is non compatible with python3.

Is the porting planned? Or I've to use an other equivalent library installable via pip3?

thanks
christian

Revision history for this message
Vincent Ladeuil (vila) wrote :

There are no firm plan to port to python3 I know about.

On the other hand, since you're on ubuntu server 14.04 you can just install the bzr /package/ and forget about the issue.

Revision history for this message
Chris (christian-fontana) wrote :

So the bug can be closed,

thanks

Vincent Ladeuil (vila)
Changed in bzr:
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.