-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Doesn't work in IPython console #6
Comments
Thanks for reporting your problem. However, it seems to work for me in the qtconsole. After adding
I get the following output when starting ipython's qtconsole:
Are you using the latest version of the version_information extension? I'm aware that the platform module gives more detailed os information. How would you suggest displaying the os version, and in what sense is it much nicer than what the os module give? |
…name/sys.platform, as suggested in #6
There seems to be a misunderstanding: I used...
...yesterday evening, so I suppose, it's the latest version. |
...regarding This is some code I recently wrote to give more meaningful information about the operating system:
By the way, something like
gives a nicer and more concise version for Python, in my opinion. |
I just installed the latest version: OS version looks much better now. The issue regarding the console remains. |
OK, thanks for the screenshots. However, I still cannot reproduce this problem in osx or linux. Perhaps it is something windows related. Could you try to explicitly run the IPython.display.display_pretty() on the object returned by version information. I guess the problem might be that there is an error and exception raised when IPython calls the repr_pretty which might prevent this representation from being used:
|
Thanks for the suggestions for improved python version presentation. I've adopted a variant of this in 85abf2c |
Looks very well now. Detailed but not too detailed, in my opinion. Will report back later to the actual bug. |
Please see transcript of IPython console session
|
Hmm, thanks for testing.. Unfortunately this didn't give any new clues. I still think that the |
In
ipython_config
I haveIn IPython console I get
In QtConsole I get
By the way: there are much nicer and better ways to output the operating system than
os
. Namely theplatform
module.The text was updated successfully, but these errors were encountered: