Installing Python Modules on Windows
Jump to navigation
Jump to search
Windows Only Installations
I have stup Windows Python as follows:
32 bit version - C:\Apps\Python27_32 64 bit version - C:\Apps\Python27_64
So now set up pip and other components I need.
In a CMD window:
64 Bit
c:\>cd C:\Apps\Python27_64 c:\Apps\Python27_64>.\python -m pip install -U pip setuptools Collecting pip Using cached pip-8.0.2-py2.py3-none-any.whl Collecting setuptools Using cached setuptools-20.1.1-py2.py3-none-any.whl Installing collected packages: pip, setuptools Found existing installation: pip 7.1.2 Uninstalling pip-7.1.2: Successfully uninstalled pip-7.1.2 Found existing installation: setuptools 18.2 Uninstalling setuptools-18.2: Successfully uninstalled setuptools-18.2 Successfully installed pip-8.0.2 setuptools-20.1.1 c:\Apps\Python27_64>.\python -m pip install -U wheel Collecting wheel Using cached wheel-0.29.0-py2.py3-none-any.whl Installing collected packages: wheel Successfully installed wheel-0.29.0 c:\Apps\Python27_64>.\python -m pip install pymssql Collecting pymssql Downloading pymssql-2.1.2-cp27-cp27m-win_amd64.whl (153kB) 100% |################################| 155kB 1.4MB/s Installing collected packages: pymssql Successfully installed pymssql-2.1.2 ...and so on...
32 Bit
Microsoft Windows [Version 6.1.7601] Copyright (c) 2009 Microsoft Corporation. All rights reserved. c:\>cd Apps c:\Apps>cd Python27_32 c:\Apps\Python27_32>dir Volume in drive C is Boot Volume Serial Number is 7EE5-7029 Directory of c:\Apps\Python27_32 23/02/2016 05:49 PM <DIR> . 23/02/2016 05:49 PM <DIR> .. 23/02/2016 05:49 PM 2,132 dbfpy-wininst.log 23/02/2016 05:43 PM <DIR> DLLs 23/02/2016 05:43 PM <DIR> Doc 23/02/2016 05:43 PM <DIR> include 23/02/2016 05:47 PM <DIR> Lib 23/02/2016 05:43 PM <DIR> libs 05/12/2015 08:36 PM 38,584 LICENSE.txt 05/12/2015 08:25 PM 444,900 NEWS.txt 23/02/2016 05:49 PM 2,199 pyHook-wininst.log 05/12/2015 08:33 PM 27,136 python.exe 05/12/2015 08:33 PM 27,648 pythonw.exe 23/02/2016 05:47 PM 136,777 pywin32-wininst.log 21/11/2015 11:03 PM 56,557 README.txt 23/02/2016 05:49 PM 61,440 Removedbfpy.exe 23/02/2016 05:49 PM 196,096 RemovepyHook.exe 23/02/2016 05:47 PM 196,096 Removepywin32.exe 23/02/2016 05:47 PM <DIR> Scripts 23/02/2016 05:43 PM <DIR> tcl 23/02/2016 05:43 PM <DIR> Tools 05/12/2015 08:33 PM 111,616 w9xpopen.exe 12 File(s) 1,301,181 bytes 10 Dir(s) 867,873,169,408 bytes free c:\Apps\Python27_32>.\python -m pip install -U pip setuptools Collecting pip Downloading pip-8.0.2-py2.py3-none-any.whl (1.2MB) 100% |################################| 1.2MB 330kB/s Collecting setuptools Downloading setuptools-20.1.1-py2.py3-none-any.whl (472kB) 100% |################################| 475kB 145kB/s Installing collected packages: pip, setuptools Found existing installation: pip 7.1.2 Uninstalling pip-7.1.2: Successfully uninstalled pip-7.1.2 Found existing installation: setuptools 18.2 Uninstalling setuptools-18.2: Successfully uninstalled setuptools-18.2 Successfully installed pip-8.0.2 setuptools-20.1.1 c:\Apps\Python27_32>.\python -m pip install wheel Collecting wheel Downloading wheel-0.29.0-py2.py3-none-any.whl (66kB) 100% |################################| 69kB 167kB/s Installing collected packages: wheel Successfully installed wheel-0.29.0 c:\Apps\Python27_32>.\python -m pip install pymssql Collecting pymssql Downloading pymssql-2.1.2-cp27-cp27m-win32.whl (134kB) 100% |################################| 135kB 169kB/s Installing collected packages: pymssql Successfully installed pymssql-2.1.2