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

'generator' object has no attribute 'next' #3

Open
zhumiao-taylor opened this issue Dec 19, 2017 · 4 comments
Open

'generator' object has no attribute 'next' #3

zhumiao-taylor opened this issue Dec 19, 2017 · 4 comments

Comments

@zhumiao-taylor
Copy link

zhumiao-taylor commented Dec 19, 2017

X_TEST, Y_TEST = test_iter.next()
AttributeError: 'generator' object has no attribute 'next'
Maybe I should make a loop with the iterator?

@laodar
Copy link
Owner

laodar commented Dec 20, 2017

@nerdmiao are you using python3 ?

@zhumiao-taylor
Copy link
Author

yes. So what is the dev environment?

@laodar
Copy link
Owner

laodar commented Dec 27, 2017

@nerdmiao Python 2.7.12

@zhumiao-taylor
Copy link
Author

Thanks a lot. : )

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