Sublime text 3 using pip to download stuff

I have set my sublime text to build on python version 3.4.3. I am trying to download Scrapy to test some stuff, but pip download is failing.

My code in sublime text is :

import sys
print (sys.version)
pip install Scrapy


File "/Users/X/Documents/Learn/XX/", line 3 pip install Scrapy ^ SyntaxError: invalid syntax [Finished in 0.1s with exit code 1]

Can anyone point out what am I doing wrong?


You need to run pip install scrapy from the command line, not from within a Python program. Open up Terminal (Applications -> Utilities -> and run pip from there.

Need Your Help

Is a dynamic sql stored procedure a bad thing for lots of records?

sql sql-server tsql stored-procedures

I have a table with almost 800,000 records and I am currently using dynamic sql to generate the query on the back end. The front end is a search page which takes about 20 parameters and depending ...

Django: How can I protect against concurrent modification of database entries

django django-models concurrency transactions atomic

If there a way to protect against concurrent modifications of the same data base entry by two or more users?