", line ">", line " />
美文网首页
python 报错: File "", line

python 报错: File "", line

作者: 笺牒九州的怪咖 | 来源:发表于2022-08-25 22:47 被阅读0次

最近尝试在win下运行python

遇到了如下报错:


image1

尝试用不同的方法之后依然报错:


image2

原因:其实不用进入python状态的,退出exit()。在非python状态重新输入即可。

怎么解决呢?

退出python,直接安装


image3

如下代码可以加速安装:

pip install numpy -i https://pypi.tuna.tsinghua.edu.cn/simple/  

安装成功!!! ye~~~~


image4

-------------------------------------------------------------------------------------------------------------------------------------------------------------I'm a line ! Thanks for your attention !----------------------------------------------------------------------------------------------------------------

相关文章

网友评论

      本文标题:python 报错: File "", line

      本文链接:https://www.haomeiwen.com/subject/uigzgrtx.html