Steps to reproduce:

On a fresh install of Ubuntu 16.01 LTS, run:

    sudo apt-get install pip
    sudo -H pip install pip==6.1.1

Receive the following error message:

```
Exception:
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/pip/basecommand.py", line 209, in main
    status = self.run(options, args)
  File "/usr/lib/python2.7/dist-packages/pip/commands/install.py", line 328, in 
run
    wb.build(autobuilding=True)
  File "/usr/lib/python2.7/dist-packages/pip/wheel.py", line 748, in build
    self.requirement_set.prepare_files(self.finder)

  File "/usr/lib/python2.7/dist-packages/pip/req/req_set.py", line 360, in 
prepare_files
    ignore_dependencies=self.ignore_dependencies))
  File "/usr/lib/python2.7/dist-packages/pip/req/req_set.py", line 448, in 
_prepare_file
    req_to_install, finder)
  File "/usr/lib/python2.7/dist-packages/pip/req/req_set.py", line 387, in 
_check_skip_installed
    req_to_install.check_if_exists()
  File "/usr/lib/python2.7/dist-packages/pip/req/req_install.py", line 1011, in 
check_if_exists
    self.req.project_name
AttributeError: 'Requirement' object has no attribute 'project_name'
```

** Also affects: python-pip (Ubuntu)
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1586381

Title:
  Pip states report "AttributeError: 'Requirement' object has no
  attribute 'project_name'" since python-pip (8.1.1-2ubuntu0.1)

To manage notifications about this bug go to:
https://bugs.launchpad.net/hundredpapercuts/+bug/1586381/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to