Solved

SCSS editor, How to install webputty

Posted on 2013-06-04
9
653 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
 
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
Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 
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

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

Suggested Solutions

Envision that you are chipping away at another e-business site with a team of pundit developers and designers. Everything seems, by all accounts, to be going easily.
Building a website can seem like a daunting task to the uninitiated but it really only requires knowledge of two basic languages: HTML and CSS.
This tutorial walks through the best practices in adding a local business to Google Maps including how to properly search for duplicates, marker placement, and inputing business details. Login to your Google Account, then search for "Google Mapmaker…
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…

759 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now