Skip to content
This repository has been archived by the owner on Mar 15, 2022. It is now read-only.

name 'xrange' is not defined #39

Closed
subhampro opened this issue Dec 17, 2019 · 6 comments
Closed

name 'xrange' is not defined #39

subhampro opened this issue Dec 17, 2019 · 6 comments

Comments

@subhampro
Copy link

DevTools listening on ws://127.0.0.1:57376/devtools/browser/8dbed15e-aefb-45c5-86fc-e5b71a26c881
Traceback (most recent call last):
File "C:\Users\prosu\Downloads\YouTubeShop-master\yt.py", line 96, in
threader.put(subscribe_wrapper,[credentials[0],credentials[1],identifier])
File "C:\Users\prosu\Downloads\YouTubeShop-master\lib\multi.py", line 43, in put
for _ in xrange(self.q.qsize()): self.__t()
NameError: name 'xrange' is not defined

@BitTheByte
Copy link
Owner

Please use Python 2 as xrange is renamed to range in Python 3

@subhampro
Copy link
Author

i am not able to find a stable ver of Python 2.0 ! can you share link ?

@BitTheByte
Copy link
Owner

Download the latest Python 2 version from the official website https://python.org

@BitTheByte
Copy link
Owner

I'm closing this for now, feel free to reopen if the issue continues.

@ghost
Copy link

ghost commented Aug 3, 2021

The problem is still exists even on python2

@ghost
Copy link

ghost commented Aug 3, 2021

The problem is still exists even on python2

image

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants