Skip to content

Demo world_map.py does not work on python 2 #412

@ku-ya

Description

@ku-ya

Problem Description
urllib.request deprecated in Python 2
Reproduction Steps:
Run world_map.py

Expected behavior:

Traceback (most recent call last):
File "world_map.py", line 15, in
import urllib.request, urllib.parse, urllib.error
ImportError: No module named request

OS, Python version: [Enter OS name and Python version]
OSX, Python 2.7

xref: #385

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions