Month: February 2012

Install express for node.js on Windows 7

comment 1
Node.js

Getting express working on Windows 7 did not work exactly as shown in the vast majority of tutorials/blogs that I found. While simple, it requires an additional step or two. Before we start, the following are the current versions of node and npm that I’m using on Windows 7: node.exe -v v0.6.10 npm -v 1.1.0-3 Open PowerShell, then type: npm install express Unfortunately, this installs express in: C:\Users\Akbar\node_modules If you try to start the node.js […]

Install Tornado on Windows 7

comments 9
Python / Tornado

Please see my prior post on how to Setup virtualenv on Windows. Open PowerShell, then enter the following commands: cd C:\Python27 .\env_tornado\Scripts\activate.bat .\Scripts\easy_install.exe pip pip.exe install tornado -E .\env_tornado   If you want to install in the global site packages, then skip pip above and use: .\Scripts\easy_install.exe tornado That’s it. Time to start writing code.

Setup virtualenv on Windows

comment 1
Python / Tornado

I’m going to assume you have Python 2.7 correctly installed on Windows at C:\Python27. These instructions are applicable to Windows XP and Windows 7.   Open Windows PowerShell, then enter: cd C:\Python27 .\Scripts\virtualenv.exe –no-site-packages env_tornado And now to activate the new environment: .\env_tornado\Scripts\activate.bat The new virtual environment is now setup and ready for use