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 2.0 will not startup on py27 on windows #4769

Closed
ibell opened this issue Jan 8, 2014 · 2 comments · Fixed by #4770
Closed

Ipython 2.0 will not startup on py27 on windows #4769

ibell opened this issue Jan 8, 2014 · 2 comments · Fixed by #4770
Milestone

Comments

@ibell
Copy link
Contributor

ibell commented Jan 8, 2014

My attempt of using ipython 2.0dev was a bust. Ipython installed from sources using

python setup.py install

succeeds.

Then when I try to run ipython, it won't start:

...
Installed c:\python27\lib\site-packages\ipython-2.0.0_dev-py2.7.egg
Processing dependencies for ipython==2.0.0-dev
Finished processing dependencies for ipython==2.0.0-dev

C:\Users\Belli\ipython>ipython
Traceback (most recent call last):
  File "C:\Python27\Scripts\ipython-script.py", line 9, in <module>
    load_entry_point('ipython==2.0.0-dev', 'console_scripts', 'ipython')()
  File "c:\Python27\lib\site-packages\ipython-2.0.0_dev-py2.7.egg\IPython\__init__.py", line 118, in start_ipython
    return launch_new_instance(argv=argv, **kwargs)
  File "c:\Python27\lib\site-packages\ipython-2.0.0_dev-py2.7.egg\IPython\config\application.py", line 565, in launch_instance
    app.initialize(argv)
  File "<string>", line 2, in initialize
  File "c:\Python27\lib\site-packages\ipython-2.0.0_dev-py2.7.egg\IPython\config\application.py", line 92, in catch_config_error
    return method(app, *args, **kwargs)
  File "c:\Python27\lib\site-packages\ipython-2.0.0_dev-py2.7.egg\IPython\terminal\ipapp.py", line 325, in initialize
    self.init_shell()
  File "c:\Python27\lib\site-packages\ipython-2.0.0_dev-py2.7.egg\IPython\terminal\ipapp.py", line 341, in init_shell
    ipython_dir=self.ipython_dir, user_ns=self.user_ns)
  File "c:\Python27\lib\site-packages\ipython-2.0.0_dev-py2.7.egg\IPython\config\configurable.py", line 353, in instance
    inst = cls(*args, **kwargs)
  File "c:\Python27\lib\site-packages\ipython-2.0.0_dev-py2.7.egg\IPython\terminal\interactiveshell.py", line 328, in __init__
    **kwargs
  File "c:\Python27\lib\site-packages\ipython-2.0.0_dev-py2.7.egg\IPython\core\interactiveshell.py", line 506, in __init__
    self.init_alias()
  File "c:\Python27\lib\site-packages\ipython-2.0.0_dev-py2.7.egg\IPython\terminal\interactiveshell.py", line 383, in init_alias
    for name, cmd in aliases:
UnboundLocalError: local variable 'aliases' referenced before assignment

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
@Carreau
Copy link
Member

Carreau commented Jan 8, 2014

Cause by #4746 , bad reviewers bad reviewers (me included)

Carreau added a commit to Carreau/ipython that referenced this issue Jan 8, 2014
@Carreau
Copy link
Member

Carreau commented Jan 8, 2014

You can try gh-4770 that should fix it.
Thanks for testing on windows.

@minrk minrk added this to the 2.0 milestone Mar 26, 2014
mattvonrocketstein pushed a commit to mattvonrocketstein/ipython that referenced this issue Nov 3, 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

Successfully merging a pull request may close this issue.

3 participants