scrapyd-client command not found

风流意气都作罢 提交于 2020-01-01 05:31:25

问题


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.

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

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

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


回答1:


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

The package on pip may not be the latest one



来源:https://stackoverflow.com/questions/45750739/scrapyd-client-command-not-found

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!