首页
Python
Java
前端
数据库
Linux
Chatgpt专题
开发者工具箱
direc专题
wsl启动程序异常-bash: /usr/lib/command-not-found: /usr/bin/python3: bad interpreter: No such file or direc
问题描述 通过VS Code在window上wsl界面运行程序,出现上述错误. -bash: /usr/lib/command-not-found: /usr/bin/python3: bad interpreter: No such file or directory 解决方案 两种解决方案: 如果/usr/bin/python3存在,将/usr/bin加入PATH如果/usr/bin/p
阅读更多...
MAC Nginx配置: open() “xxx/logs/error.log“ failed (2: No such file or direc
(base) xxdeMacBook-Pro ~ % nginxnginx: [emerg] open() "/usr/local/Cellar/nginx/1.21.0/logs/error.log" failed (2: No such file or directory) 这个问题就很简单,直接cd到/usr/local/Cellar/nginx/1.21.0,然后mkdir logs
阅读更多...