Start a new topic
Answered

Scrapy Splash Scrapinghub deployment issue

installed shub via pip.

when running shub deploy, I'm getting following error message:



Target project ID: xxxxxx

Saving project xxxxxx as default target. You can deploy to it via 'shub deploy' from now on

Saved to /Users/...../scrapinghub.yml.

Packing version xxxxxxx-master

Created setup.py at /Users/.....

Error: Error while calling subcommand: Command '['/Users/....../anaconda/bin/python', 'setup.py', 'clean', '-a', 'bdist_egg', '-d', '/var/folders/1w/x1jxnccs57d9h60kwwnsk83c0000gn/T/shub-deploy-yuf9hdyl']' returned non-zero exit status 2.


COMMAND OUTPUT

--------------



STDERR

------

/Users/....../anaconda/bin/python: can't open file 'setup.py': [Errno 2] No such file or directory


Best Answer

Hi Zin,


If necessary, we have our Splash hosted instances: https://scrapinghub.com/splash


Best,


Pablo


how can I get rid off this issue?

Thanks

zin

Answer

Hi Zin,


If necessary, we have our Splash hosted instances: https://scrapinghub.com/splash


Best,


Pablo

Hi Zin, try to run -> shub deploy 
but in the same folder where setup.py (and srcapy.cfg) is located


1 person likes this
Login to post a comment