Method:1
Step-1-First Download window installer file from here Python
Step-2-Now you can install above downloaded msi file.
Step-3-Go to Environment variables by below step
change environment variables:
- Right-click My Computer, and then click Properties.
- Click the Advanced tab.
- Click Environment variables.
- Click on the Path in System variable and edit.
- In last you add below line
C:\Python27;C:\Python27\Scripts;
Now your python is installed and you can run python script anywhere in system.
First Download Zip file from here Python
Now extract it in C or any drive, then open the command prompt and go through directory where python zip file kept. just like as
c: \> cd c:\programfiles\python\
c: \programfiles\python> setup.py install
or
c: /programfiles/python>python setup.py install
Running setup.py install builds and installs all modules in one run. If you prefer to work incrementally—especially useful if you want to customize the build process, or if things are going wrong—you can use the setup script to do one thing at a time. This is particularly helpful when the build and install will be done by different users—for example, you might want to build a module distribution and hand it off to a system administrator for installation (or do it yourself, with super-user privileges).
For example, you can build everything in one step, and then install everything in a second step, by invoking the setup script twice:
Now your python is installed successfully
Install MySQL for Python (MySQLdb) on Windows
It took me quite a while to figure out how to build and install MySQL for Python (MySQLdb) on Windows. I’d better write it down.
Uncompressed MySQL-python-1.2.3c1.tar.gz into a directory. Open a command window (cmd), change to the directory.
Try to run,
setup.py build
Method:3Try to run,
setup.py build
In this method open this Pdf and according to that install Python
No comments:
Post a Comment