user14936801
user14936801

Reputation:

Import "six.moves.urllib.parse" could not be resolved from source

I successfully installed "six" at the command prompt. Why does my "python" display "Import "six.moves.urllib.parse" could not be resolved from source" and there is a yellow wavy line.

Collecting six
  Using cached six-1.16.0-py2.py3-none-any.whl (11 kB)
Installing collected packages: six
Successfully installed six-1.16.0

enter image description here

Upvotes: 3

Views: 5622

Answers (1)

Sanjoy Kumar Biswas
Sanjoy Kumar Biswas

Reputation: 81

use

from urllib.parse import urlencode

For python3

Upvotes: 4

Related Questions