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

Ipython won't start on W7 #2111

Closed
tala75 opened this issue Jul 8, 2012 · 2 comments
Closed

Ipython won't start on W7 #2111

tala75 opened this issue Jul 8, 2012 · 2 comments
Milestone

Comments

@tala75
Copy link

tala75 commented Jul 8, 2012

Hi everybody,
Excuse me if this has allready been answered, but I couldn't find anything so :
I've installed Python 3, 64B on windiws 7 and it runs fine.

I've then followed the steps to install iPython (Distribute, then pyreadline (from the installer this one), then I've installed iPython (from the exe installer also : ipython-0.13.py3-win-amd64.exe).

But when I start iPython it stops after displayind the following messages. What did I wrong ?
(note : the syntax error mark bellow points to the third final quote of the unicode string above it)

C:\ProgsHorsUAC\Py32\Scripts>ipython3.exe
Traceback (most recent call last):
File "C:\ProgsHorsUAC\Py32\Scripts\ipython3-script.py", line 9, in
load_entry_point('ipython==0.13', 'console_scripts', 'ipython3')()
File "C:\ProgsHorsUAC\Py32\lib\site-packages\IPython\frontend\terminal\ipapp.py", line 388, in launch_new_instance
app.initialize()
File "", line 2, in initialize
File "C:\ProgsHorsUAC\Py32\lib\site-packages\IPython\config\application.py", line 84, in catch_config_error
return method(app, _args, *_kwargs)
File "C:\ProgsHorsUAC\Py32\lib\site-packages\IPython\frontend\terminal\ipapp.py", line 324, in initialize
self.init_shell()
File "C:\ProgsHorsUAC\Py32\lib\site-packages\IPython\frontend\terminal\ipapp.py", line 340, in init_shell
ipython_dir=self.ipython_dir)
File "C:\ProgsHorsUAC\Py32\lib\site-packages\IPython\config\configurable.py", line 318, in instance
inst = cls(_args, *_kwargs)
File "C:\ProgsHorsUAC\Py32\lib\site-packages\IPython\frontend\terminal\interactiveshell.py", line 360, in init
user_module=user_module, custom_exceptions=custom_exceptions
File "C:\ProgsHorsUAC\Py32\lib\site-packages\IPython\core\interactiveshell.py", line 482, in init
self.init_readline()
File "C:\ProgsHorsUAC\Py32\lib\site-packages\IPython\core\interactiveshell.py", line 1804, in init_readline
import IPython.utils.rlineimpl as readline
File "C:\ProgsHorsUAC\Py32\lib\site-packages\IPython\utils\rlineimpl.py", line 33, in
from readline import *
File "C:\ProgsHorsUAC\Py32\lib\site-packages\readline.py", line 42
u'''Return the console object used by readline so that it can be used for printing in color.'''
^
SyntaxError: invalid syntax

If you suspect this is an IPython bug, please report it at:
https://github.com/ipython/ipython/issues
or send an email to the mailing list at ipython-dev@scipy.org

You can print a more detailed traceback right now with "%tb", or use "%debug"
to interactively debug it.

Extra-detailed tracebacks for bug-reporting purposes can be enabled via:
c.Application.verbose_crash=True

C:\ProgsHorsUAC\Py32\Scripts>

@jstenar
Copy link
Member

jstenar commented Jul 8, 2012

It looks like you have a bad install of pyreadline (i.e. one that is not meant for python3). Which version did you install?

Try using version 2.0-dev1 from https://launchpad.net/pyreadline/+download

@tala75
Copy link
Author

tala75 commented Jul 9, 2012

You are right, I installed the "pyreadline-1.7.1" version (from PyPi).
I've downloaded and intalled the 2.0-dev1 you mentionned, and IPython starts perfectly.

Thank you for your help,
Olivier.

@tala75 tala75 closed this as completed Jul 9, 2012
@minrk minrk added this to the no action milestone Mar 26, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants