Comments (6)
I ran into this myself over the weekend and I couldn't quite figure it out either. Directly importing IPython.core immediately before it doesn't work either. I'm think there must be something special about the IPython module namespace that's tripping up IronPython, but I haven't figured out what it is yet.
from main.
Any ideas anyone? I have the same problem though using suggestions ipython/ipython#4062 I still get issues.
from main.
(copied this from same response in issue linked above).
There does seem to be some bug in IronPython 2.7.x (9cbff4c) with ipython-2.0.0-dev ebf12123833c207995a03dc9bb542ecf35cc1dcc related to the way modules are imported which breaks the ipython "shell" script.
I found this code successful
from IPython import core as C
import IPython
IPython.core = C
from IPython import start_ipython
start_ipython()
It's something to do with the PlatformAdaptionLayer and wierd behaviour with nested packages in IronPython which I can't quite pin down. However the workaround is "working" at the moment.
from main.
I have commited a fix in IronPython (94b55df in ipy-2.7-maint)
Details: https://ironpython.codeplex.com/workitem/34551
On Fri, Oct 18, 2013 at 3:17 PM, swinstanley [email protected]:
(copied this from same response in issue linked above).
There does seem to be some bug in IronPython 2.7.x (9cbff4chttps://github.com/IronLanguages/main/commit/9cbff4cfde6d2071a8158c54535cd1bc83c82e32)
with ipython-2.0.0-dev ebf1212ebf12123833c207995a03dc9bb542ecf35cc1dccrelated to the way modules are imported which breaks the ipython "shell"
script.I found this code successful
from IPython import core as Cimport IPythonIPython.core = Cfrom IPython import start_ipythonstart_ipython()
It's something to do with the PlatformAdaptionLayer and wierd behaviour
with nested packages in IronPython which I can't quite pin down. However
the workaround is "working" at the moment.—
Reply to this email directly or view it on GitHubhttps://github.com//issues/123#issuecomment-26594500
.
from main.
Looks like this has been fixed and can be closed?
from main.
Just for the record I will maintain forks/branches for the purpose of using ipython under IronPython.
https://github.com/paweljasinski/IronLanguages/tree/ipython-notepad - patches in IronPython
https://github.com/paweljasinski/pyzmq/tree/iron-cleanup - pyzmq - ctype backend for IronPython
https://github.com/paweljasinski/tornado/tree/iron-wip - patches in tornado
https://github.com/paweljasinski/ipython/tree/iron-notepad - patches in ipython
https://github.com/paweljasinski/pyreadline - patches in readline
Once merged into the official tree, branches will disappear. ipython and tornado will stay forever, as there is no intention to merge 2.x based IronPython changes into the master.
from main.
Related Issues (20)
- Python 3 HOT 2
- test_math_cpy fails in 64-bit
- Upgrade pip to 9.0.1 HOT 3
- Links in you site HOT 1
- Drop support for Microsoft.Scripting.Core HOT 1
- Drop support for Silverlight HOT 1
- Switch to using IronLanguages/dlr HOT 1
- Move IronLanguages/main to IronLanguages/ironpython2? HOT 1
- Application does not run on mono 5 runtime. HOT 2
- Crash in WeakRefTracker finalizer with mono 5 HOT 1
- json module raise error when run with -X:Python30 argument. HOT 1
- traceback.format_exc() not working HOT 4
- Misleading ArgumentTypeException message when calling C# method HOT 6
- IronPython 2.7.7 is not compatible with dotnet core 1.1 HOT 1
- Crash when using unquote_plus HOT 1
- Strange behavior of symbolic group name on regular expression module. HOT 1
- PARSINGCONTEXT can be used as ASTCONTEXT in the Expression nodes of IRony.Interpreter??Can anyone suggest please? HOT 1
- Looking to save file into AWS S3 bucket using IronPython? HOT 1
- Does not build with current Mono HOT 1
- weakref.ref object sometimes returns None in a mulithreaded scenario HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from main.