Solved

SCSS editor, How to install webputty

Posted on 2013-06-04
9
656 Views
Last Modified: 2013-07-09
Hi. i do web design + CMS every day.

Today i found an open source tool that should speed up my workflow. making it quicker to write scss. Its called webPutty:
http://fogcreek.github.io/WebPutty/

but i can't figure out how to install it as it uses python and pin and google app engine.

the install notes are hopeless for my level of skill:
https://github.com/FogCreek/WebPutty/

i have downloaded python and installed it to my windows p.c.
i have downloaded Google App Engine SDK for Python and installed it on my p.c
i have created a app with the app engine.
and i have tried to follow the instructions to update app.yaml and settings.py but its not that obviuse if i did it correct.

now am stuck trying to install pip into python as i haven't done that before and dont know how to start.

this is hard for me as i am not a developer but i really want to try out Webputty. can anyone talk me through the installation or make a screen recording. i can open another question to give more points out if this will be to much to ask.

thanks.
0
Comment
Question by:helpchrisplz
  • 5
  • 4
9 Comments
 
LVL 25

Expert Comment

by:clockwatcher
ID: 39220908
I'm guessing you're probably running windows.  If that's the case to get pip installed, I'd recommend installing the following two packages (in this order):

1) pywin32 - http://sourceforge.net/projects/pywin32/files/pywin32/Build%20218/
2) setuptools - https://pypi.python.org/pypi/setuptools

Both of the above have binary installers, so should be pretty straightforward to install.  Setuptools includes something called easy_install.  Once it's installed, open up a command prompt and type the following:
easy_install virtualenv

Open in new window


That will install virtualenv which includes pip.
0
 
LVL 1

Author Comment

by:helpchrisplz
ID: 39231800
Hi i have installed the above.

i had to get the versions of each that work with python 2.7 as it says to use python 2.7 in the webputty documentation however the command easy_install virtualenv is not working when typed into cmd it says syntax error.
0
 
LVL 25

Expert Comment

by:clockwatcher
ID: 39232081
Can you post the exact error that you're getting?  I don't know of any circumstance in which  the windows command prompt would ever return syntax error.   My guess would be that you're getting back something more like:

easy_install is not recognized as an internal or external command...

If that's the case, then your python scripts directory which contains easy_install isn't in your path.   Typically, that directory would be c:\python27\scripts but depending on the flavor of python you've got installed it could be somewhere else.  In the command window, type:

   where python


Assuming python is in your path, it will spit out something like:

   c:\python27\python.exe


The easy_install script is in the scripts subdirectory off your main python path.  So in the case above the command to run would be:

   c:\python27\scripts\easy_install virtualenv


or if you really only want pip then

   c:\python27\scripts\easy_install pip
0
3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

 
LVL 1

Author Comment

by:helpchrisplz
ID: 39232253
I can navigate to C:\Python27\Scripts in windows explorer

but when i type where python into CMD it says: could not find files for this given pattern


so i used:   c:\python27\scripts\easy_install virtualenv

and it installed but now i cant get it to installing fabric e.g:
pip install fabric

please see the screenshot

pip
0
 
LVL 1

Author Comment

by:helpchrisplz
ID: 39232255
Ok i typed:
0
 
LVL 25

Expert Comment

by:clockwatcher
ID: 39232269
It should be in your scripts directory.

c:\python27\scripts\pip

But you should probably fix your path.  It should include your python installation and the python scripts directory.  Add c:\python27;c:\python27\scripts to it.

http://geekswithblogs.net/renso/archive/2009/10/21/how-to-set-the-windows-path-in-windows-7.aspx
0
 
LVL 1

Author Comment

by:helpchrisplz
ID: 39232274
I used this
c:\python27\scripts\easy_install fabric

but got an error did it install ok?

pip
0
 
LVL 25

Accepted Solution

by:
clockwatcher earned 500 total points
ID: 39232298
The vcvarsall.bat sets up your environment for Visual Studio's command-line compilation.  It's trying to do a build of pycrypto but you probably don't have visual studio installed.  Download and install the prebuilt version appropriate (32 or 64-bit) for your system from http://www.voidspace.org.uk/python/modules.shtml#pycrypto.  It'll be either:
 
http://www.voidspace.org.uk/downloads/pycrypto26/pycrypto-2.6.win32-py2.7.exe

or

http://www.voidspace.org.uk/downloads/pycrypto26/pycrypto-2.6.win-amd64-py2.7.exe

Match whatever your python build is.  You can tell which you have installed by starting up the python interpreter.  It'll be on the first line.
C:\Users\markh>c:\python27\python
Python 2.7.2 (default, Jun 12 2011, 15:08:59) [MSC v.1500 32 bit (Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> quit()
C:\Users\markh>

Open in new window


Once you have pycrypto installed reissue your pip install fabric command.
0
 
LVL 1

Author Closing Comment

by:helpchrisplz
ID: 39309701
thanks. i been busy lately so sorry about the wait
0

Featured Post

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article discusses four methods for overlaying images in a container on a web page
This article will inform Clients about common and important expectations from the freelancers (Experts) who are looking at your Gig.
In this tutorial viewers will learn how to style rounded corners for elements in CSS using the border-radius property Begin with a normal styled element such as a div: To style all four corners of the div to be the same degree of roundness, use the …
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

831 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question