Courtesy:
http://stackoverflow.com/questions/4750806/how-to-install-pip-on-windows
http://www.calazan.com/how-to-set-the-proxy-settings-in-windows-via-command-line/
http://docs.python-guide.org/en/latest/starting/install/win.html
http://zetcode.com/tutorials/pyqt4/firstprograms/
http://www.ee.iitb.ac.in/student/~amaldev/contact.html
Verified with:
OS: Windows 7 (32 bit)
Python version: 2.7.5 (32 bit)
1. start -> cmd
2. Go to command prompt
3. Set the http proxy environment (if your network use proxy)
set HTTP_PROXY=http://user:password@proxy.domain.com:port
4. Go to http://www.python.org/getit/ and select the version of python and download (I used 'Python 2.7.5 Windows Installer')
5. Click on the (.msi) file and install in default directory (C:\Pytho27)
6. Go to http://docs.python-guide.org/en/latest/starting/install/win.html (It will istall the latest version of Distribute for Windows)
7. Go to http://www.lfd.uci.edu/~gohlke/pythonlibs/#setuptools and install the 'setup tool for your pyton version'
(Install setuptools-0.9.8.win32-py2.7.exe if you have installed python 2.7.*)
8. Go to http://www.lfd.uci.edu/~gohlke/pythonlibs/#pip and install 'pip' for your version of python
(Use pip-1.4.win32-py2.7.exe if you have installed python 2.7.*)
'Pip' is used to install packages for python.
9. Try to install one package to see if 'pip' is properly installed.
1. start -> cmd
2. Go to command prompt
3. Type pip install virtualenv
10. Instead of installing through command prompt, you may visit http://www.lfd.uci.edu/~gohlke/pythonlibs and install the required packages.
(To run the sample code below, you need to install 'PyQt'. Hence install PyQt-Py2.7-x32-gpl-4.9.6-1.exe.
11. Try one code: Please visit http://zetcode.com/tutorials/pyqt4/firstprograms/ and copy the sample program and paste it in notepad and save as 'sample.txt'
12. Go to start -> Python 2.7 -> IDLE (Python GUI)
13. File -> open -> directory_where_sample.txt_is_saved/sample.txt
14. A new window will be opened with our sample code. Go to Run -> Run module. Now you should be able to see a blank pop up window (created by the sample python program)
http://stackoverflow.com/questions/4750806/how-to-install-pip-on-windows
http://www.calazan.com/how-to-set-the-proxy-settings-in-windows-via-command-line/
http://docs.python-guide.org/en/latest/starting/install/win.html
http://zetcode.com/tutorials/pyqt4/firstprograms/
http://www.ee.iitb.ac.in/student/~amaldev/contact.html
Verified with:
OS: Windows 7 (32 bit)
Python version: 2.7.5 (32 bit)
1. start -> cmd
2. Go to command prompt
3. Set the http proxy environment (if your network use proxy)
set HTTP_PROXY=http://user:password@proxy.domain.com:port
4. Go to http://www.python.org/getit/ and select the version of python and download (I used 'Python 2.7.5 Windows Installer')
5. Click on the (.msi) file and install in default directory (C:\Pytho27)
6. Go to http://docs.python-guide.org/en/latest/starting/install/win.html (It will istall the latest version of Distribute for Windows)
7. Go to http://www.lfd.uci.edu/~gohlke/pythonlibs/#setuptools and install the 'setup tool for your pyton version'
(Install setuptools-0.9.8.win32-py2.7.exe if you have installed python 2.7.*)
8. Go to http://www.lfd.uci.edu/~gohlke/pythonlibs/#pip and install 'pip' for your version of python
(Use pip-1.4.win32-py2.7.exe if you have installed python 2.7.*)
'Pip' is used to install packages for python.
9. Try to install one package to see if 'pip' is properly installed.
1. start -> cmd
2. Go to command prompt
3. Type pip install virtualenv
10. Instead of installing through command prompt, you may visit http://www.lfd.uci.edu/~gohlke/pythonlibs and install the required packages.
(To run the sample code below, you need to install 'PyQt'. Hence install PyQt-Py2.7-x32-gpl-4.9.6-1.exe.
11. Try one code: Please visit http://zetcode.com/tutorials/pyqt4/firstprograms/ and copy the sample program and paste it in notepad and save as 'sample.txt'
12. Go to start -> Python 2.7 -> IDLE (Python GUI)
13. File -> open -> directory_where_sample.txt_is_saved/sample.txt
14. A new window will be opened with our sample code. Go to Run -> Run module. Now you should be able to see a blank pop up window (created by the sample python program)
Comments
Post a Comment