Bug 1459634 - scipy uses a bundled modified six and does not work correctly if using the system version
scipy uses a bundled modified six and does not work correctly if using the sy...
Status: NEW
Product: Red Hat Software Collections
Classification: Red Hat
Component: scipy (Show other bugs)
All Linux
unspecified Severity medium
: ---
: 3.1
Assigned To: Nikola Forró
BaseOS QE - Apps
Depends On:
Blocks: 1465545
  Show dependency treegraph
Reported: 2017-06-07 12:18 EDT by Paulo Andrade
Modified: 2017-06-27 11:20 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1465545 (view as bug list)
Last Closed:
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Paulo Andrade 2017-06-07 12:18:02 EDT
Example command:

$ scl enable rh-python35 'python -c "from scipy import ndimage"'
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/opt/rh/rh-python35/root/usr/lib64/python3.5/site-packages/scipy/ndimage/__init__.py", line 161, in <module>
    from .filters import *
  File "/opt/rh/rh-python35/root/usr/lib64/python3.5/site-packages/scipy/ndimage/filters.py", line 37, in <module>
    from scipy.misc import doccer
  File "/opt/rh/rh-python35/root/usr/lib64/python3.5/site-packages/scipy/misc/__init__.py", line 51, in <module>
    from scipy.special import comb, factorial, factorial2, factorialk
  File "/opt/rh/rh-python35/root/usr/lib64/python3.5/site-packages/scipy/special/__init__.py", line 629, in <module>
    from .basic import *
  File "/opt/rh/rh-python35/root/usr/lib64/python3.5/site-packages/scipy/special/basic.py", line 10, in <module>
    from six import xrange
ImportError: cannot import name 'xrange'

The correction is to rebuild rh-python35-scipy backporting

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