Skip to content
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

spyder crashes if ipython installed but not pygments #2259

Closed
mikofski opened this issue Mar 18, 2015 · 4 comments
Closed

spyder crashes if ipython installed but not pygments #2259

mikofski opened this issue Mar 18, 2015 · 4 comments

Comments

@mikofski
Copy link
Contributor

Spyder 2.3.3
IPython 3

without pygments, spyder causes python to crash on windows,
hard for user to know what the issue is since there is no feedback,
and crash windows have strong negative association.
Spyder dialog says to use spyder --reset,
but that doesn't work since it's not the issue

please either

  • make pygments required during installation
    or
  • handle ImportError gracefully
    • fall back to python interpreter console
    • issue message

Thanks!

@ccordoba12
Copy link
Member

Thanks for reporting @mikofski!!

Please post the traceback you're seeing so we can understand how to fix it

@ccordoba12
Copy link
Member

I'm almost sure this an IPython error rather than a Spyder one, but we can fix it in our own code.

@mikofski
Copy link
Contributor Author

I'm sure it is IPython too, but it will turn away users from Spyder. The exception is ImportError: No module named Pygments

Traceback (most recent call last):
  File "<xxx>", line X, in <module: xxx>
ImportError: No module named Pygments

I was setting up python for a new engineer, and I forgot to install Pygments when setting up Python, and we started getting weird crashes everytime we started Spyder. it was frustrating because we had just run it before installing IPython, and I wanted to demo how spyder uses IPython console if installed. The error message from windows is not very useful. The impression some people get is that spyder is buggy unfortunately.

ccordoba12 added a commit that referenced this issue Mar 21, 2015
- Also update translations
@mikofski
Copy link
Contributor Author

Thanks carlos you're a coding god ; -)
now if we can just get the win_post_install script to run from pip on windows, spyder will be the defacto ide for engineers! BTW I think my snippets probably require pywin32, can't remember

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants