找不到scrapyd-client命令 [英] scrapyd-client command not found

查看:41
本文介绍了找不到scrapyd-client命令的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚刚在virtualenv中安装了scrapyd-client(1.1.0),并成功运行命令'scrapyd-deploy',但是当我运行'scrapyd-client'时,终端说:找不到命令:scrapyd-客户端.

I'd just installed the scrapyd-client(1.1.0) in a virtualenv, and run command 'scrapyd-deploy' successfully, but when I run 'scrapyd-client', the terminal said: command not found: scrapyd-client.

根据自述文件(https://github.com/scrapy/scrapyd-client),应该有一个 'scrapyd-client' 命令.

According to the readme file(https://github.com/scrapy/scrapyd-client), there should be a 'scrapyd-client' command.

我检查了路径/lib/python2.7/site-packages/scrapyd-client",文件夹中只有scrapyd-deploy".

I had checked the path '/lib/python2.7/site-packages/scrapyd-client', only 'scrapyd-deploy' in the folder.

'scrapyd-client' 命令现在被删除了吗?

Is the command 'scrapyd-client' being removed for now?

推荐答案

创建一个全新的环境并首先使用下面的安装scrapyd-client

Create a fresh environment and install scrapyd-client first using below

pip install git+https://github.com/scrapy/scrapyd-client

它应该可以工作.我能够得到它

And it should work. I was able to get it

$ which scrapyd-client
/Users/tarun.lalwani/.virtualenvs/sclient/bin/scrapyd-client

pip 上的包可能不是最新的

The package on pip may not be the latest one

这篇关于找不到scrapyd-client命令的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆