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

Posted about 6 years ago by azimulhaque

Post a topic
Answered
a
azimulhaque

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.

0 Votes

thriveni

thriveni posted about 6 years ago Admin 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.

0 Votes


1 Comments

thriveni

thriveni posted about 6 years ago Admin 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.

0 Votes

Login to post a comment