Bug 26461 - python3-ujson: import ujson: No module named 'ujson'
Summary: python3-ujson: import ujson: No module named 'ujson'
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Shlomi Fish
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-04-09 13:21 CEST by Olav Vitters
Modified: 2020-04-10 17:08 CEST (History)
1 user (show)

See Also:
Source RPM: python3-ujson-1.35-3.mga8
CVE:
Status comment:


Attachments

Description Olav Vitters 2020-04-09 13:21:54 CEST
Description of problem:
If I install python3-ujson I expect to be able to import the module. Instead I get an error message.

I also noticed upstream has version 2.0.3 at https://pypi.org/project/ujson/#history.


Version-Release number of selected component (if applicable):
python3-ujson-1.35-3.mga8

How reproducible:


Steps to Reproduce:
1. Open a terminal
2. Run python3
3. Type: import ujson

Expected:
- module is imported

Actual:
ModuleNotFoundError: No module named 'ujson'
Comment 1 Olav Vitters 2020-04-09 13:22:24 CEST
Forgot: I'd like this to work as it's a BR for buildstream.
Comment 2 David GEIGER 2020-04-09 13:54:47 CEST
Should be fixed with python-ujson-2.0.3-1.mga8

CC: (none) => geiger.david68210

Comment 3 Olav Vitters 2020-04-10 17:07:35 CEST
Thanks, it indeed works nicely now. Though now some other buildstream dependency is being annoying :-P
Comment 4 Olav Vitters 2020-04-10 17:08:44 CEST
You have to specify a comment when changing the Resolution of a bug from (empty) to FIXED.

Status: NEW => RESOLVED
Resolution: (none) => FIXED


Note You need to log in before you can comment on or make changes to this bug.