Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我试图在我的虚拟环境窗口 10 上运行以下命令 pip freeze > requirements.txt,但我得到一个access denied response
pip freeze > requirements.txt
access denied response
我也试过这个 pip freeze > requirements.txt --user 但我得到了同样的回应。可能出了什么问题,我该如何解决?
也许您没有写权限。尝试删除“requirements.txt”文件(如果已经存在)并再次运行该命令“pip freeze > requirements.txt”。还要通过“chown”检查您的许可