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

module 'urllib.request' has no attribute 'HTTPSHandler' #18495

Closed
ZhangKuixun opened this issue Dec 12, 2018 · 1 comment
Closed

module 'urllib.request' has no attribute 'HTTPSHandler' #18495

ZhangKuixun opened this issue Dec 12, 2018 · 1 comment
Labels

Comments

@ZhangKuixun
Copy link

@ZhangKuixun ZhangKuixun commented Dec 12, 2018

Traceback (most recent call last):
File "", line 1, in
File "/data/user/0/com.jventura.pyapp/assets/python/bootstrap.py", line 9, in
import youtube_dl
File "/data/user/0/com.jventura.pyapp/assets/python/youtube_dl/init.py", line 15, in
from .options import (
File "/data/user/0/com.jventura.pyapp/assets/python/youtube_dl/options.py", line 8, in
from .downloader.external import list_external_downloaders
File "/data/user/0/com.jventura.pyapp/assets/python/youtube_dl/downloader/init.py", line 3, in
from .common import FileDownloader
File "/data/user/0/com.jventura.pyapp/assets/python/youtube_dl/downloader/common.py", line 10, in
from ..utils import (
File "/data/user/0/com.jventura.pyapp/assets/python/youtube_dl/utils.py", line 1117, in
class YoutubeDLHTTPSHandler(compat_urllib_request.HTTPSHandler):
AttributeError: module 'urllib.request' has no attribute 'HTTPSHandler'

I use android call C, C call python agin. put python cold in assets.

@dstftw dstftw closed this Dec 12, 2018
@dstftw dstftw added the incomplete label Dec 12, 2018
@ZhangKuixun
Copy link
Author

@ZhangKuixun ZhangKuixun commented Dec 12, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.