ImportError: cannot import name array, when importing urllib2

前端 未结 1 386
庸人自扰
庸人自扰 2021-01-19 04:39

I am getting below error when trying to import the urllib2:

>>> import urllib2

Traceback (most recent call last):
File \"\", line 1, i         


        
1条回答
  •  清酒与你
    2021-01-19 05:26

    It seems you have a python program named "array.py" in you present working directory. If yes rename that python program or move it to some other directory.

    0 讨论(0)
提交回复
热议问题