1.一般我们的pip报错他会给我们提示代码。
You should consider upgrading via the ‘C:\Users\mengfanxu\AppData\Local\Microsoft\WindowsApps\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\python.exe -m pip install --upgrade pip’ command.
2,但是如果用了它的pip还是报错呢,接下来大家可以看看我的报错。
Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
3.这个时候不要慌,我们只需要将下面这段代码黏贴下去执行就可以了。
pip3 install pyinstaller -i https://pypi.tuna.tsinghua.edu.cn/simple -U
4.大家执行下去就好了。
在这里插入图片描述

Logo

为开发者提供学习成长、分享交流、生态实践、资源工具等服务,帮助开发者快速成长。

更多推荐