videocamWeb Data Extraction Summit - September 30th, 2021.
Join some of the greatest minds in web scraping to educate, inspire, and innovate.
Register for free!
Start a new topic
Answered

shub not executable in windows in any folder other than c:\python\scripts

I am using windows 10 and Python2.7. I installed shub by doing below in the command line.  

pip install shub

I logged into the system by doing

shub login

and then inserting api key. This is done successfully. However, these commands can only be executed from the directory

C:\Python\Scripts

As instructed in the support page i navigate in the command line to the folder where my `Scrapy` project is saved locally and type 

 

shub deploy numeric_project_id

However i am getting error message 

'shub' is not recognized as an internal or external command,  operable program or batch file.

 Please help.


Best Answer

Hi Azim, 


Would you be ok to add the C:\Python27\Scripts to PATH in Windows as given in https://stackoverflow.com/questions/28124100/add-c-python27-scripts-to-path-in-windows-8  and then try the Shub deploy.

1 Comment

Answer

Hi Azim, 


Would you be ok to add the C:\Python27\Scripts to PATH in Windows as given in https://stackoverflow.com/questions/28124100/add-c-python27-scripts-to-path-in-windows-8  and then try the Shub deploy.

Login to post a comment