• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 688
  • Last Modified:

SCSS editor, How to install webputty

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
helpchrisplz
Asked:
helpchrisplz
  • 5
  • 4
1 Solution
 
clockwatcherCommented:
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
 
helpchrisplzAuthor Commented:
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
 
clockwatcherCommented:
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
What Kind of Coding Program is Right for You?

There are many ways to learn to code these days. From coding bootcamps like Flatiron School to online courses to totally free beginner resources. The best way to learn to code depends on many factors, but the most important one is you. See what course is best for you.

 
helpchrisplzAuthor Commented:
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
 
helpchrisplzAuthor Commented:
Ok i typed:
0
 
clockwatcherCommented:
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
 
helpchrisplzAuthor Commented:
I used this
c:\python27\scripts\easy_install fabric

but got an error did it install ok?

pip
0
 
clockwatcherCommented:
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
 
helpchrisplzAuthor Commented:
thanks. i been busy lately so sorry about the wait
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Easily Design & Build Your Next Website

Squarespace’s all-in-one platform gives you everything you need to express yourself creatively online, whether it is with a domain, website, or online store. Get started with your free trial today, and when ready, take 10% off your first purchase with offer code 'EXPERTS'.

  • 5
  • 4
Tackle projects and never again get stuck behind a technical roadblock.
Join Now