Python 使用pipreqs命令生成 `requirements.txt`报错

Python 使用pipreqs命令生成 requirements.txt报错:Fatal error in launcher: Unable to create process using ‘“E:\Anaconda\python.exe” “D:\Anaconda\Scripts\pipreqs.exe” ./ --encoding=utf-8’: ???

问题描述—Python 使用pipreqs命令生成 requirements.txt报错

报错信息:

image.png

问题原因

pipreqs这个模块的问题

解决方法

我先尝试了

删除pip.exe,重新安装pip.exe

image.png

用下面命令:

python -m pip install -U pip

我重新安装后面,发现这个问题没有解决

后面经过检查发现&#

猜你喜欢

转载自blog.csdn.net/Deng872347348/article/details/130297354