Python 2.7 ImportError:无法将名称导入Python
我正在使用Python 2.7版本。我在python代码中使用了goto命令。在第一次运行代码时。它抛出错误-Python 2.7 ImportError:无法将名称导入Python,python-2.7,pip,importerror,goto,Python 2.7,Pip,Importerror,Goto,我正在使用Python 2.7版本。我在python代码中使用了goto命令。在第一次运行代码时。它抛出错误- ImportError : No module named goto ImportError: cannot import name goto 然后我使用命令安装了goto sudo pip install goto 它已安装,但再次抛出错误- ImportError : No module named goto ImportError: cannot import nam
ImportError : No module named goto
ImportError: cannot import name goto
然后我使用命令安装了goto
sudo pip install goto
它已安装,但再次抛出错误-
ImportError : No module named goto
ImportError: cannot import name goto
然后我从这个链接下载了tar.gz文件夹
并已安装。但是没有成功
关于此问题的任何帮助。首先从/usr/local/lib/python2.7/dist-packages/goto*中删除所有版本的goto-package 然后从此处安装转到包-