Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 474012 - dev-python/ipython is "Unable to import module named natsorted"
Summary: dev-python/ipython is "Unable to import module named natsorted"
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on: 512244
Blocks:
  Show dependency tree
 
Reported: 2013-06-21 08:39 UTC by Justin Lecher (RETIRED)
Modified: 2015-02-28 13:14 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Justin Lecher (RETIRED) gentoo-dev 2013-06-21 08:39:10 UTC
cat >> /usr/lib64/python2.7/site-packages/natsorted.py <<- EOF
def xmas():
    pass
EOF

Fire up ipython

from natsorted import *

doesn't work.
Comment 1 Dirkjan Ochtman (RETIRED) gentoo-dev 2013-06-21 08:43:03 UTC
Your scenario in comment 1 works fine for me.
Comment 2 Justin Lecher (RETIRED) gentoo-dev 2013-06-21 08:49:59 UTC
did you use python or ipython?
Comment 3 Dirkjan Ochtman (RETIRED) gentoo-dev 2013-06-21 09:06:26 UTC
Normal python. Does it just fail in ipython for you?
Comment 4 Justin Lecher (RETIRED) gentoo-dev 2013-06-21 09:21:03 UTC
 $ ipython -c "from natsorted import *;"
This Python implementation (python2.7) is not supported by the script.
An exception has occurred, use %tb to see the full traceback.

SystemExit: 127

To exit: use 'exit', 'quit', or Ctrl-D.
Comment 5 Justin Lecher (RETIRED) gentoo-dev 2013-06-21 09:21:13 UTC
normal python is fine
Comment 6 Justin Lecher (RETIRED) gentoo-dev 2013-06-21 09:42:12 UTC
This happens with every py script controlled by python-exec.
Comment 7 Ian Delaney (RETIRED) gentoo-dev 2013-06-28 05:36:18 UTC
right; see bottle bug 474874. Common theme here?
Comment 8 Justin Lecher (RETIRED) gentoo-dev 2013-06-28 06:30:05 UTC
(In reply to Ian Delaney from comment #7)
> right; see bottle bug 474874. Common theme here?

Look like.