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

Will there be Python 2 support? #25

Open
yangvz opened this issue Nov 19, 2016 · 2 comments
Open

Will there be Python 2 support? #25

yangvz opened this issue Nov 19, 2016 · 2 comments

Comments

@yangvz
Copy link

yangvz commented Nov 19, 2016

In non-interactive python 2, we can use from __future__ import absolute_import to force explicit relative import. This is not working when, for example, we write some vanilla python files and relative-importing them from a notebook.
I tried pip install git+https://github.com/ipython/ipynb but it gives that it requires python 3. Is there any workaround about this?

@yuvipanda
Copy link
Collaborator

A lot of the code depends on new machinery introduced in Python 3.4, so at
least for now there is no Python 2 support. It could possibly be hacked on
at a later date, depending on how important it is to people :) How
important is support for python < 3.4 support for you?

On Fri, Nov 18, 2016 at 10:59 PM, yangnw notifications@github.com wrote:

In non-interactive python 2, we can use from future import
absolute_import to force explicit relative import. This is not working
when, for example, we write some vanilla python files and
relative-importing them from a notebook.
I tried pip install git+https://github.com/ipython/ipynb but it gives
that it requires python 3. Is there any workaround about this?


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
#25, or mute the thread
https://github.com/notifications/unsubscribe-auth/AAB23mwbs8og9qdYt8VktDzCgsfCUbn_ks5q_p5KgaJpZM4K3Lt7
.

Yuvi Panda T
http://yuvi.in/blog

@yangvz
Copy link
Author

yangvz commented Nov 22, 2016

It's a finance project. Since it is not so big, the feature itself is not that important.

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