9

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?

dropax
  • 115
  • 1
  • 7

1 Answers1

22

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

Tarun Lalwani
  • 124,930
  • 8
  • 149
  • 214
  • @Tarun Lalwani when I run your command `scrapyd-client` installs, but when I try to run `scrapyd-client projects` for example - I get error `simplejson.errors.JSONDecodeError: Expecting value: line 1 column 1 (char 0)`. And every command goes with that error. what that could be? – Chiefir May 18 '18 at 16:57
  • @Chiefir, that would be a different issue, please open a new Question and share the link here if you want – Tarun Lalwani May 18 '18 at 17:03