2024-09-29 23:23:56 发布
网友
我的服务器上的scrapy有问题,每次打开时我都要在[scrapy not found][1]上做答案
[1]:Scrapy installed, but won't run from the command lineexport PATH="${PATH}:${HOME}/.local/bin"它确实可以工作,但我正在寻找永久性修复此问题的解决方案(我有sudo访问权限)
export PATH="${PATH}:${HOME}/.local/bin"
错误:bash: scrapy: command not found
bash: scrapy: command not found
您可能希望将此命令附加到~/.bashrc文件中,以便在每次SSH到服务器上时执行该命令
~/.bashrc
登录到您的服务器并像Scrapy installed, but won't run from the command line中建议的那样运行以下命令:
echo 'export PATH="${PATH}:${HOME}/.local/bin"' >> ~/.bashrc
您可能希望将此命令附加到
~/.bashrc
文件中,以便在每次SSH到服务器上时执行该命令登录到您的服务器并像Scrapy installed, but won't run from the command line中建议的那样运行以下命令:
相关问题 更多 >
编程相关推荐