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

提示没有urllib2 #5

Open
xyoungleo opened this issue Dec 18, 2018 · 0 comments
Open

提示没有urllib2 #5

xyoungleo opened this issue Dec 18, 2018 · 0 comments

Comments

@xyoungleo
Copy link

import urllib2

ModuleNotFoundError: No module named 'urllib2'

在StackOverflow上找到这个问题
https://stackoverflow.com/questions/2792650/import-error-no-module-name-urllib2

改用from urllib.request import urlopen
函数也改用urllib.urlopen()

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

1 participant