在python3中编译时,出现错误“ TypeError:'模块'对象不可调用”

时间:2018-12-04 15:44:13

标签: urllib

我正在为项目使用this code

当我尝试运行此代码时,出现错误:TypeError: 'module' object is not callable.以及该错误的详细信息,如下所示:

Traceback (most recent call last):
  File "edit2.py", line 597, in <module>
    if __name__ == "__main__":
  File "edit2.py", line 417, in main
    else:
  File "edit2.py", line 75, in connect_earthexplorer_no_proxy
    params = urllib.parse.urlencode(dict(username=usgs['account'],password= usgs['passwd'], csrf_token=token))
TypeError: 'module' object is not callable

请帮助我解决此问题。

0 个答案:

没有答案
相关问题