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

Problems trying to run IPython on python3 without installing... #3599

Closed
damianavila opened this issue Jul 10, 2013 · 2 comments
Closed

Problems trying to run IPython on python3 without installing... #3599

damianavila opened this issue Jul 10, 2013 · 2 comments
Milestone

Comments

@damianavila
Copy link
Member

I tried to run the master on python3.2 without installing and I got this traceback:

$ python3 -m IPython
Traceback (most recent call last):
  File "/usr/lib/python3.2/runpy.py", line 140, in _run_module_as_main
    mod_name, loader, code, fname = _get_module_details(mod_name)
  File "/usr/lib/python3.2/runpy.py", line 110, in _get_module_details
    return _get_module_details(pkg_main_name)
  File "/usr/lib/python3.2/runpy.py", line 102, in _get_module_details
    loader = get_loader(mod_name)
  File "/usr/lib/python3.2/pkgutil.py", line 461, in get_loader
    return find_loader(fullname)
  File "/usr/lib/python3.2/pkgutil.py", line 471, in find_loader
    for importer in iter_importers(fullname):
  File "/usr/lib/python3.2/pkgutil.py", line 427, in iter_importers
    __import__(pkg)
  File "IPython/__init__.py", line 43, in <module>
    from .config.loader import Config
  File "IPython/config/__init__.py", line 16, in <module>
    from .application import *
  File "IPython/config/application.py", line 124
    name = Unicode(u'application')
                                ^
SyntaxError: invalid syntax

@takluyver any idea?

@takluyver
Copy link
Member

You have to install it, because 2to3 runs during the installation.

We're considering changing that to a full source port some time soon, because we're seeing more questions about this and because the 2to3 conversion slows down the develop/test loop. But for now, install it.

@damianavila
Copy link
Member Author

OK, thanks... sorry to bother you with a question previously asked... ;-)

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

2 participants