Bug 980 - If a PYTHONPATH is set to 2.7 by the user some decoders won't work
Summary: If a PYTHONPATH is set to 2.7 by the user some decoders won't work
Status: CONFIRMED
Alias: None
Product: sigrok-util
Classification: Unclassified
Component: Util: sigrok-cross-mingw (show other bugs)
Version: unreleased development snapshot
Hardware: All All
: Normal normal
Target Milestone: ---
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-06-12 16:59 CEST by Uwe Hermann
Modified: 2017-06-12 16:59 CEST (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Uwe Hermann 2017-06-12 16:59:09 CEST
Unsetting PYTHONPATH fixes the problem.

Example:
srd: ImportError: Failed to load decoder rgb_led_ws281x: import by name failed: This package should not be accessible on Python 3. Either you are trying to run from the python-future src folder or your installation of python-future is corrupted.

We should look into whether or how it's possible to force our embedded Python to ignore any other Python stuff.