Mailinglist Archive: opensuse-bugs (4297 mails)

< Previous Next >
[Bug 1040540] New: `qr` from package python-qrcode fails with "ImportError: No module named pkg_resources"
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Wed, 24 May 2017 08:19:52 +0000
  • Message-id: <bug-1040540-21960@http.bugzilla.opensuse.org/>
http://bugzilla.opensuse.org/show_bug.cgi?id=1040540


Bug ID: 1040540
Summary: `qr` from package python-qrcode fails with
"ImportError: No module named pkg_resources"
Classification: openSUSE
Product: openSUSE Distribution
Version: Leap 42.3
Hardware: All
OS: Other
Status: NEW
Severity: Normal
Priority: P5 - None
Component: Other
Assignee: bnc-team-screening@xxxxxxxxxxxxxxxxxxxxxx
Reporter: moritzrakow@xxxxxx
QA Contact: qa-bugs@xxxxxxx
Found By: ---
Blocker: ---

## Overview

The program `qr`, which can be used from the command line to create QR codes,
fails with the following output:

```
Traceback (most recent call last):
File "/usr/bin/qr", line 5, in <module>
from pkg_resources import load_entry_point
ImportError: No module named pkg_resources
```

## Steps to reproduce

1. Install package python-qrcode.
2. Run `qr "test"`.

## Actual result

Program fails with ImportError.

## Expected result

QR code is generated.

## Build and hardware

USB/DVD install on 64bit laptop, updated to build 0251.

## Additional information

Looks similar to Bug 957885, which was resolved by adding python-distribute as
a dependency.

--
You are receiving this mail because:
You are on the CC list for the bug.
< Previous Next >
This Thread
  • No further messages