问题
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